Part of ccnr - CCNx Repository Daemon. More...
|void||r_dispatch_run (struct ccnr_handle *h)|
|Run the main loop of the ccnr. |
|void||r_dispatch_process_internal_client_buffer (struct ccnr_handle *h)|
|struct content_entry *||process_incoming_content (struct ccnr_handle *h, struct fdholder *fdholder, unsigned char *msg, size_t size)|
|void||r_dispatch_process_input (struct ccnr_handle *h, int fd)|
|Process the input from a socket or file. |
Part of ccnr - CCNx Repository Daemon.
Definition in file ccnr_dispatch.h.
|struct content_entry* process_incoming_content||(||struct ccnr_handle *||h,|
|struct fdholder *||fdholder,|
|unsigned char *||msg,|
|void r_dispatch_process_input||(||struct ccnr_handle *||h,|
Process the input from a socket or file.
The fd has been found ready for input by the poll call. Decide what fdholder it corresponds to, and after checking for exceptional cases, receive data, parse it into ccnb-encoded messages, and call process_input_message for each one.
|void r_dispatch_process_internal_client_buffer||(||struct ccnr_handle *||h||)|