ne_207.h | ne_207.h | |||
---|---|---|---|---|
skipping to change at line 88 | skipping to change at line 88 | |||
/* Destroy the parser */ | /* Destroy the parser */ | |||
void ne_207_destroy(ne_207_parser *p); | void ne_207_destroy(ne_207_parser *p); | |||
/* An acceptance function which only accepts 207 responses */ | /* An acceptance function which only accepts 207 responses */ | |||
int ne_accept_207(void *userdata, ne_request *req, const ne_status *status) ; | int ne_accept_207(void *userdata, ne_request *req, const ne_status *status) ; | |||
void *ne_207_get_current_propstat(ne_207_parser *p); | void *ne_207_get_current_propstat(ne_207_parser *p); | |||
void *ne_207_get_current_response(ne_207_parser *p); | void *ne_207_get_current_response(ne_207_parser *p); | |||
/* Dispatch a DAV request and handle a 207 error response appropriately */ | /* Dispatch request 'req', returning: | |||
* NE_ERROR: for a dispatch error, or a non-2xx response, or a | ||||
* 207 response which contained a non-2xx propstat | ||||
* NE_OK: for a 2xx response or a 207 response which contained | ||||
* only 2xx-class propstats. | ||||
* The request object is destroyed in both cases. */ | ||||
int ne_simple_request(ne_session *sess, ne_request *req); | int ne_simple_request(ne_session *sess, ne_request *req); | |||
END_NEON_DECLS | END_NEON_DECLS | |||
#endif /* DAV207_H */ | #endif /* DAV207_H */ | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 6 lines changed or added | |||