|
static int | amxb_uri_part_to_string (amxc_string_t *buffer, UriTextRangeA *tr) |
|
static int | amxb_uri_path_to_string (amxc_string_t *buffer, UriPathSegmentA *ps) |
|
static int | amxb_uri_parse (const char *uri, char **scheme, char **host, char **port, char **path) |
|
static int | amxb_bus_ctx_init (amxb_bus_ctx_t **ctx, amxb_be_funcs_t *fns) |
|
static int | amxb_bus_ctx_create (amxb_bus_ctx_t **ctx, amxb_be_funcs_t **fns, const char *uri, char **scheme, char **host, char **port, char **path) |
|
static int | amxb_bus_ctx_be_init (amxb_bus_ctx_t *ctx, amxb_be_funcs_t *fns, amxb_be_connect_fn_t fn, const char *uri, const char *host, const char *port, const char *path) |
|
static void | amxb_free_request (amxc_llist_it_t *it) |
|
int | amxb_connect_intf (amxb_bus_ctx_t **ctx, const char *uri, const char *intf) |
| Create a bus connection. More...
|
|
int | amxb_connect (amxb_bus_ctx_t **ctx, const char *uri) |
| Create a bus connection. More...
|
|
int | amxb_listen (amxb_bus_ctx_t **ctx, const char *uri) |
| Create a listen socket. More...
|
|
int | amxb_accept (amxb_bus_ctx_t *listen_ctx, amxb_bus_ctx_t **accepted_ctx) |
| Accepts an incomming connection request. More...
|
|
int | amxb_disconnect (amxb_bus_ctx_t *ctx) |
| Disconnects a bus connection. More...
|
|
void | amxb_free (amxb_bus_ctx_t **ctx) |
| Frees allocated memory. More...
|
|
amxb_bus_ctx_t * | amxb_find_uri (const char *uri) |
| Find the bus context for a given uri. More...
|
|
amxc_array_t * | amxb_list_uris (void) |
| List all open connections by their uri. More...
|
|
int | amxb_get_fd (const amxb_bus_ctx_t *const ctx) |
| Get the connection file descriptor. More...
|
|
int | amxb_read (const amxb_bus_ctx_t *const ctx) |
| Reads data from the file descriptor. More...
|
|
int | amxb_read_raw (const amxb_bus_ctx_t *const ctx, void *buf, size_t count) |
| Attempts to read up to count bytes from the file descriptor into the buffer starting at buf. More...
|
|
static CONSTRUCTOR void | amxb_initialize_connections (void) |
|
static DESTRUCTOR void | amxb_cleanup_connections (void) |
|