Change-Id: I672c28932e275e6d28fe158c1c2c18ee18172cc1
enum com_core_event_type {
CONNECTOR_CONNECTED,
- CONNECTOR_DISCONNECTED,
+ CONNECTOR_DISCONNECTED
};
extern int com_core_server_create(const char *addr, int is_sync, int (*service_cb)(int fd, void *data), void *data);
enum com_core_route_event_type {
COM_CORE_ROUTE_CONNECTED,
COM_CORE_ROUTE_DISCONNECTED,
- COM_CORE_ROUTE_ERROR,
+ COM_CORE_ROUTE_ERROR
};
extern int com_core_packet_router_add_route(int handle, unsigned long address, int to);
PACKET_REQ,
PACKET_ACK,
PACKET_REQ_NOACK,
- PACKET_ERROR,
+ PACKET_ERROR
};
enum packet_flag {
PACKET_FLAG_NOROUTE = 0x00, /*!< If possible, route this packet without care of the server */
PACKET_FLAG_ROUTE = 0x01, /*!< This packet must has to be cared by the server */
- PACKET_FLAG_ERROR = 0xFF, /*!< Invalid flag */
+ PACKET_FLAG_ERROR = 0xFF /*!< Invalid flag */
};
#define PACKET_VERSION 2
Name: libcom-core
Summary: Library for the light-weight IPC
-Version: 0.4.2
+Version: 0.4.3
Release: 1
Group: HomeTF/Framework
License: Apache License
RECV_STATE_INIT,
RECV_STATE_HEADER,
RECV_STATE_BODY,
- RECV_STATE_READY,
+ RECV_STATE_READY
} state;
struct packet *packet;
RECV_STATE_INIT,
RECV_STATE_HEADER,
RECV_STATE_BODY,
- RECV_STATE_READY,
+ RECV_STATE_READY
} state;
int handle;
int offset;
struct packet {
enum {
VALID = 0xbeefbeef,
- INVALID = 0xdeaddead,
+ INVALID = 0xdeaddead
} state;
int refcnt;
struct data *data;