Loading include/http_protocol.h +2 −1 Changes for include/http_protocol.h: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -345,7 +345,8 @@ static inline int ap_rputs(const char *str, request_rec *r) * @param ... The strings to write * @return The number of bytes sent */ AP_DECLARE_NONSTD(int) ap_rvputs(request_rec *r,...); AP_DECLARE_NONSTD(int) ap_rvputs(request_rec *r,...) __attribute__((sentinel)); /** * Output data to the client in a printf format Loading include/http_request.h +2 −1 Changes for include/http_request.h: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -284,7 +284,8 @@ AP_DECLARE(void) ap_update_mtime(request_rec *r, apr_time_t dependency_mtime); * method name to add. * @return None. */ AP_DECLARE(void) ap_allow_methods(request_rec *r, int reset, ...); AP_DECLARE(void) ap_allow_methods(request_rec *r, int reset, ...) __attribute__((sentinel)); /** * Add one or more methods to the list permitted to access the resource. Loading include/util_cookies.h +14 −6 Changes for include/util_cookies.h: 14 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -65,8 +65,10 @@ typedef struct { * @param ... A varargs array of zero or more (apr_table_t *) tables followed by NULL * to which the cookies should be added. */ AP_DECLARE(apr_status_t) ap_cookie_write(request_rec * r, const char *name, const char *val, const char *attrs, long maxage, ...); AP_DECLARE(apr_status_t) ap_cookie_write(request_rec * r, const char *name, const char *val, const char *attrs, long maxage, ...) __attribute__((sentinel)); /** * Write an RFC2965 compliant cookie. Loading @@ -80,8 +82,10 @@ AP_DECLARE(apr_status_t) ap_cookie_write(request_rec * r, const char *name, cons * @param ... A varargs array of zero or more (apr_table_t *) tables followed by NULL * to which the cookies should be added. */ AP_DECLARE(apr_status_t) ap_cookie_write2(request_rec * r, const char *name2, const char *val, const char *attrs2, long maxage, ...); AP_DECLARE(apr_status_t) ap_cookie_write2(request_rec * r, const char *name2, const char *val, const char *attrs2, long maxage, ...) __attribute__((sentinel)); /** * Remove an RFC2109 compliant cookie. Loading @@ -93,7 +97,9 @@ AP_DECLARE(apr_status_t) ap_cookie_write2(request_rec * r, const char *name2, co * @param ... A varargs array of zero or more (apr_table_t *) tables followed by NULL * to which the cookies should be added. */ AP_DECLARE(apr_status_t) ap_cookie_remove(request_rec * r, const char *name, const char *attrs, ...); AP_DECLARE(apr_status_t) ap_cookie_remove(request_rec * r, const char *name, const char *attrs, ...) __attribute__((sentinel)); /** * Remove an RFC2965 compliant cookie. Loading @@ -105,7 +111,9 @@ AP_DECLARE(apr_status_t) ap_cookie_remove(request_rec * r, const char *name, con * @param ... A varargs array of zero or more (apr_table_t *) tables followed by NULL * to which the cookies should be added. */ AP_DECLARE(apr_status_t) ap_cookie_remove2(request_rec * r, const char *name2, const char *attrs2, ...); AP_DECLARE(apr_status_t) ap_cookie_remove2(request_rec * r, const char *name2, const char *attrs2, ...) __attribute__((sentinel)); /** * Read a cookie called name, placing its value in val. Loading include/util_script.h +2 −1 Changes for include/util_script.h: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -122,7 +122,8 @@ AP_DECLARE(int) ap_scan_script_header_err_brigade(request_rec *r, AP_DECLARE_NONSTD(int) ap_scan_script_header_err_strs(request_rec *r, char *buffer, const char **termch, int *termarg, ...); int *termarg, ...) __attribute__((sentinel)); /** * Read headers output from a script, ensuring that the output is valid. If Loading Loading
include/http_protocol.h +2 −1 Changes for include/http_protocol.h: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -345,7 +345,8 @@ static inline int ap_rputs(const char *str, request_rec *r) * @param ... The strings to write * @return The number of bytes sent */ AP_DECLARE_NONSTD(int) ap_rvputs(request_rec *r,...); AP_DECLARE_NONSTD(int) ap_rvputs(request_rec *r,...) __attribute__((sentinel)); /** * Output data to the client in a printf format Loading
include/http_request.h +2 −1 Changes for include/http_request.h: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -284,7 +284,8 @@ AP_DECLARE(void) ap_update_mtime(request_rec *r, apr_time_t dependency_mtime); * method name to add. * @return None. */ AP_DECLARE(void) ap_allow_methods(request_rec *r, int reset, ...); AP_DECLARE(void) ap_allow_methods(request_rec *r, int reset, ...) __attribute__((sentinel)); /** * Add one or more methods to the list permitted to access the resource. Loading
include/util_cookies.h +14 −6 Changes for include/util_cookies.h: 14 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -65,8 +65,10 @@ typedef struct { * @param ... A varargs array of zero or more (apr_table_t *) tables followed by NULL * to which the cookies should be added. */ AP_DECLARE(apr_status_t) ap_cookie_write(request_rec * r, const char *name, const char *val, const char *attrs, long maxage, ...); AP_DECLARE(apr_status_t) ap_cookie_write(request_rec * r, const char *name, const char *val, const char *attrs, long maxage, ...) __attribute__((sentinel)); /** * Write an RFC2965 compliant cookie. Loading @@ -80,8 +82,10 @@ AP_DECLARE(apr_status_t) ap_cookie_write(request_rec * r, const char *name, cons * @param ... A varargs array of zero or more (apr_table_t *) tables followed by NULL * to which the cookies should be added. */ AP_DECLARE(apr_status_t) ap_cookie_write2(request_rec * r, const char *name2, const char *val, const char *attrs2, long maxage, ...); AP_DECLARE(apr_status_t) ap_cookie_write2(request_rec * r, const char *name2, const char *val, const char *attrs2, long maxage, ...) __attribute__((sentinel)); /** * Remove an RFC2109 compliant cookie. Loading @@ -93,7 +97,9 @@ AP_DECLARE(apr_status_t) ap_cookie_write2(request_rec * r, const char *name2, co * @param ... A varargs array of zero or more (apr_table_t *) tables followed by NULL * to which the cookies should be added. */ AP_DECLARE(apr_status_t) ap_cookie_remove(request_rec * r, const char *name, const char *attrs, ...); AP_DECLARE(apr_status_t) ap_cookie_remove(request_rec * r, const char *name, const char *attrs, ...) __attribute__((sentinel)); /** * Remove an RFC2965 compliant cookie. Loading @@ -105,7 +111,9 @@ AP_DECLARE(apr_status_t) ap_cookie_remove(request_rec * r, const char *name, con * @param ... A varargs array of zero or more (apr_table_t *) tables followed by NULL * to which the cookies should be added. */ AP_DECLARE(apr_status_t) ap_cookie_remove2(request_rec * r, const char *name2, const char *attrs2, ...); AP_DECLARE(apr_status_t) ap_cookie_remove2(request_rec * r, const char *name2, const char *attrs2, ...) __attribute__((sentinel)); /** * Read a cookie called name, placing its value in val. Loading
include/util_script.h +2 −1 Changes for include/util_script.h: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -122,7 +122,8 @@ AP_DECLARE(int) ap_scan_script_header_err_brigade(request_rec *r, AP_DECLARE_NONSTD(int) ap_scan_script_header_err_strs(request_rec *r, char *buffer, const char **termch, int *termarg, ...); int *termarg, ...) __attribute__((sentinel)); /** * Read headers output from a script, ensuring that the output is valid. If Loading