27 #ifndef _EVENT2_RPC_STRUCT_H_
28 #define _EVENT2_RPC_STRUCT_H_
45 #define EVRPC_STATUS_ERR_NONE 0
46 #define EVRPC_STATUS_ERR_TIMEOUT 1
47 #define EVRPC_STATUS_ERR_BADPAYLOAD 2
48 #define EVRPC_STATUS_ERR_UNSTARTED 3
49 #define EVRPC_STATUS_ERR_HOOKABORTED 4
60 TAILQ_ENTRY(
evrpc) next;
66 void *(*request_new)(
void *);
67 void *request_new_arg;
70 void (*request_free)(
void *);
73 int (*request_unmarshal)(
void *,
struct evbuffer *);
76 void *(*reply_new)(
void *);
80 void (*reply_free)(
void *);
83 int (*reply_complete)(
void *);
86 void (*reply_marshal)(
struct evbuffer*,
void *);
Definition: evrpc-internal.h:71
Definition: evbuffer-internal.h:78
Definition: evrpc-internal.h:132
provides information about the completed RPC request.
Definition: rpc_struct.h:44
Definition: rpc_struct.h:59
the request structure that a server receives.
Definition: http_struct.h:57