zephyr/include/net/net_conn_mgr.h
Tomasz Bursztyka b2e71a2fa2 net: Add a connection manager preliminary logic
It currently only listens to relevant events about network interface to
decide whether raising connected or disconnected event.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2019-07-12 12:33:19 +03:00

29 lines
458 B
C

/*
* Copyright (c) 2018 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_NET_CONN_MGR_H_
#define ZEPHYR_INCLUDE_NET_CONN_MGR_H_
#ifdef __cplusplus
extern "C" {
#endif
#if defined(CONFIG_NET_CONNECTION_MANAGER)
void net_conn_mgr_resend_status(void);
#else
#define net_conn_mgr_resend_status(...)
#endif /* CONFIG_NET_CONNECTION_MANAGER */
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_NET_CONN_MGR_H_ */