/* returns EVRPC_TERMINATE; if the rpc should be aborted. *ahookisisallowedtorewritetheevbuffer
*/ int (*process)(void *, struct evhttp_request *, struct evbuffer *, void *); void *process_arg;
};
/* allows association of meta data with a request */ staticvoid evrpc_hook_associate_meta_(struct evrpc_hook_meta **pctx, struct evhttp_connection *evcon);
/* creates a new meta data store */ staticstruct evrpc_hook_meta *evrpc_hook_meta_new_(void);
/* frees the meta data associated with a request */ staticvoid evrpc_hook_context_free_(struct evrpc_hook_meta *ctx);
/* the server side of an rpc */
/* We alias the RPC specific structs to this voided one */ struct evrpc_req_generic { /* *allowsassociationofmetadataviahooks-needstobe *synchronizedwithevrpc_request_wrapper
*/ struct evrpc_hook_meta *hook_meta;
/* the unmarshaled request object */ void *request;
/* the empty reply object that needs to be filled in */ void *reply;
/* the client side of an rpc request */ struct evrpc_request_wrapper { /* *allowsassociationofmetadataviahooks-needstobe *synchronizedwithevrpc_req_generic.
*/ struct evrpc_hook_meta *hook_meta;
TAILQ_ENTRY(evrpc_request_wrapper) next;
/* pool on which this rpc request is being made */ struct evrpc_pool *pool;
/* connection on which the request is being sent */ struct evhttp_connection *evcon;
/* the actual request */ struct evhttp_request *req;
/* event for implementing request timeouts */ struct event ev_timeout;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.