27 #ifndef _EVRPC_INTERNAL_H_
28 #define _EVRPC_INTERNAL_H_
30 #include "http-internal.h"
35 #define EVRPC_URI_PREFIX "/.rpc."
61 struct evrpc_hook_list in_hooks;
62 struct evrpc_hook_list out_hooks;
64 struct evrpc_pause_list pause_requests;
67 #define input_hooks common.in_hooks
68 #define output_hooks common.out_hooks
69 #define paused_requests common.pause_requests
75 struct evhttp* http_server;
78 TAILQ_HEAD(evrpc_list,
evrpc) registered_rpcs;
90 struct evconq connections;
115 struct evrpc_meta_list meta_data;
182 struct event ev_timeout;
195 void (*request_marshal)(
struct evbuffer *,
void *);
198 void (*reply_clear)(
void *);
201 int (*reply_unmarshal)(
void *,
struct evbuffer*);
Definition: evrpc-internal.h:59
Structure to represent a single event.
Definition: event_struct.h:87
Definition: evrpc-internal.h:163
Definition: evrpc-internal.h:37
Definition: evrpc-internal.h:71
TAILQ_HEAD(evbuffer_cb_queue, evbuffer_cb_entry) callbacks
A doubly-linked-list of callback functions.
Definition: evbuffer-internal.h:78
Definition: evrpc-internal.h:132
Definition: http-internal.h:62
provides information about the completed RPC request.
Definition: rpc_struct.h:44
Definition: http-internal.h:136
Definition: rpc_struct.h:59
Definition: event-internal.h:167
Definition: evrpc-internal.h:97
the request structure that a server receives.
Definition: http_struct.h:57
Definition: evrpc-internal.h:85
EVRPC_HOOK_RESULT
Return value from hook processing functions.
Definition: rpc.h:470