Changeset fc257c3a0ca0ba485d58c775959836e7fdc50721 for src/noit_rest.h
- Timestamp:
- 10/02/09 13:56:46 (4 years ago)
- git-parent:
- Files:
-
- src/noit_rest.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
src/noit_rest.h
r3c56016 rfc257c3 48 48 typedef int (*rest_request_handler)(noit_http_rest_closure_t *, 49 49 int npats, char **pats); 50 50 typedef noit_boolean (*rest_authorize_func_t)(noit_http_rest_closure_t *, 51 int npats, char **pats); 51 52 struct noit_http_rest_closure { 52 53 noit_http_session_ctx *http_ctx; … … 63 64 API_EXPORT(void) noit_http_rest_init(); 64 65 66 API_EXPORT(noit_boolean) 67 noit_http_rest_client_cert_auth(noit_http_rest_closure_t *restc, 68 int npats, char **pats); 69 65 70 API_EXPORT(int) 66 71 noit_http_rest_register(const char *method, const char *base, 67 72 const char *expression, rest_request_handler f); 73 74 API_EXPORT(int) 75 noit_http_rest_register_auth(const char *method, const char *base, 76 const char *expression, rest_request_handler f, 77 rest_authorize_func_t auth); 68 78 69 79 API_EXPORT(xmlDocPtr)
