27 #ifndef EVRPC_INTERNAL_H_INCLUDED_
28 #define EVRPC_INTERNAL_H_INCLUDED_
31 #include "http-internal.h"
36 #define EVRPC_URI_PREFIX "/.rpc."
62 struct evrpc_hook_list in_hooks;
63 struct evrpc_hook_list out_hooks;
65 struct evrpc_pause_list pause_requests;
68 #define input_hooks common.in_hooks
69 #define output_hooks common.out_hooks
70 #define paused_requests common.pause_requests
76 struct evhttp* http_server;
79 TAILQ_HEAD(evrpc_list,
evrpc) registered_rpcs;
91 struct evconq connections;
116 struct evrpc_meta_list meta_data;
183 struct event ev_timeout;
196 void (*request_marshal)(
struct evbuffer *,
void *);
199 void (*reply_clear)(
void *);
202 int (*reply_unmarshal)(
void *,
struct evbuffer*);
EVRPC_HOOK_RESULT
Definition: rpc.h:490
Definition: evbuffer-internal.h:80
Definition: event-internal.h:208
Definition: event_struct.h:123
Definition: http-internal.h:51
Definition: http_struct.h:57
Definition: http-internal.h:134
Definition: evrpc-internal.h:72
Definition: evrpc-internal.h:98
Definition: evrpc-internal.h:38
Definition: evrpc-internal.h:60
Definition: evrpc-internal.h:86
Definition: evrpc-internal.h:133
Definition: evrpc-internal.h:164
Definition: rpc_struct.h:54
Definition: rpc_struct.h:69