diff options
author | Sung-jae Park <nicesj.park@samsung.com> | 2013-01-12 13:49:03 +0900 |
---|---|---|
committer | Sung-jae Park <nicesj.park@samsung.com> | 2013-01-12 13:49:37 +0900 |
commit | f4462c477c0aed4c60500b66cff53c17336c793f (patch) | |
tree | 9795411f5e51a2109dbafe9263263b4ce991800e /include | |
parent | 4d9690009164009f11e6e6feb70e9567bce576e1 (diff) | |
download | com-core-f4462c477c0aed4c60500b66cff53c17336c793f.tar.gz com-core-f4462c477c0aed4c60500b66cff53c17336c793f.tar.bz2 com-core-f4462c477c0aed4c60500b66cff53c17336c793f.zip |
Macro definition is added for com-core_packet-router
Change-Id: If67a6c62fcfb85cb709e8026fe8629950e02049c
Diffstat (limited to 'include')
-rw-r--r-- | include/com-core_packet-router.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/com-core_packet-router.h b/include/com-core_packet-router.h index 0d4b423..0da3b67 100644 --- a/include/com-core_packet-router.h +++ b/include/com-core_packet-router.h @@ -14,6 +14,13 @@ * limitations under the License. */ +#ifndef _COM_CORE_PACKET_ROUTER_H +#define _COM_CORE_PACKET_ROUTER_H + +#ifdef __cplusplus +extern "C" { +#endif + enum com_core_route_event_type { COM_CORE_ROUTE_CONNECTED, COM_CORE_ROUTE_DISCONNECTED, @@ -37,4 +44,9 @@ extern int com_core_packet_router_async_send(int handle, struct packet *packet, extern int com_core_packet_router_send_only(int handle, struct packet *packet); extern struct packet *com_core_packet_router_oneshot_send(const char *addr, struct packet *packet, double timeout); +#ifdef __cplusplus +} +#endif + +#endif /* End of a file */ |