27 #define IBROKER_API __attribute__((visibility("default")))
29 #define IBROKER_NAME_SIZE 64
30 #define IBROKER_MAX_SERVICES 64
31 #define IBROKER_MAX_COUNT 128
61 uint64_t invalid_service;
IBROKER_API broker_id_t ibroker_create(const char *name)
IBROKER_API broker_id_t ibroker_find(const char *name)
IBROKER_API int ibroker_send(broker_id_t bid, service_id_t sid)
IBROKER_API int ibroker_info(broker_id_t bid, ibroker_info_t *info)
IBROKER_API const char * ibroker_get_name(broker_id_t id)
int(* ibroker_walk_t)(broker_id_t bid, void *arg)
IBROKER_API void ibroker_destroy(broker_id_t bid)
IBROKER_API service_id_t ibroker_find_service(broker_id_t bid, const char *name)
IBROKER_API int ibroker_register_sender(broker_id_t bid, service_id_t sid)
IBROKER_API service_id_t ibroker_add_service(broker_id_t id, const char *service, int vector, ibroker_func_t func, void *arg)
#define IBROKER_NAME_SIZE
IBROKER_API int ibroker_del_service(broker_id_t bid, service_id_t sid)
IBROKER_API int ibroker_service_fd(broker_id_t bid, service_id_t sid)
IBROKER_API int ibroker_id_list(broker_id_t *ids, int len)
int(* ibroker_func_t)(int vector, void *arg)
IBROKER_API int ibroker_walk(ibroker_walk_t func, void *arg)
#define IBROKER_MAX_SERVICES
IBROKER_API const char * ibroker_service_name(broker_id_t bid, service_id_t sid)