Macro definition is added for com-core_packet-router
authorSung-jae Park <nicesj.park@samsung.com>
Sat, 12 Jan 2013 04:49:03 +0000 (13:49 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Sat, 12 Jan 2013 04:49:37 +0000 (13:49 +0900)
Change-Id: If67a6c62fcfb85cb709e8026fe8629950e02049c

include/com-core_packet-router.h
packaging/libcom-core.spec

index 0d4b423..0da3b67 100644 (file)
  * 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 */
index 2748e47..a5d533a 100644 (file)
@@ -1,6 +1,6 @@
 Name: libcom-core
 Summary: Library for the light-weight IPC 
-Version: 0.3.10
+Version: 0.3.11
 Release: 1
 Group: main/util
 License: Flora License