unified curl test options
This commit is contained in:
parent
593ed2ef3b
commit
5dc2a6387d
34 changed files with 434 additions and 427 deletions
|
|
@ -42,9 +42,9 @@
|
|||
* Prototypes
|
||||
*/
|
||||
#if defined(__GNUC__) && __GNUC__ >= 3
|
||||
int restconf_reply_header(void *req, char *name, const char *vfmt, ...) __attribute__ ((format (printf, 3, 4)));
|
||||
int restconf_reply_header(void *req, const char *name, const char *vfmt, ...) __attribute__ ((format (printf, 3, 4)));
|
||||
#else
|
||||
int restconf_reply_header(FCGX_Request *req, char *name, const char *vfmt, ...);
|
||||
int restconf_reply_header(FCGX_Request *req, const char *name, const char *vfmt, ...);
|
||||
#endif
|
||||
|
||||
int restconf_reply_send(void *req, int code, cbuf *cb);
|
||||
|
|
|
|||
|
|
@ -72,9 +72,9 @@
|
|||
* @see eg RFC 7230
|
||||
*/
|
||||
int
|
||||
restconf_reply_header(void *req0,
|
||||
char *name,
|
||||
char *vfmt,
|
||||
restconf_reply_header(void *req0,
|
||||
const char *name,
|
||||
const char *vfmt,
|
||||
...)
|
||||
|
||||
{
|
||||
|
|
|
|||
|
|
@ -88,9 +88,9 @@ restconf_reply_body_start(void *req0)
|
|||
* @see eg RFC 7230
|
||||
*/
|
||||
int
|
||||
restconf_reply_header(void *req0,
|
||||
char *name,
|
||||
const char *vfmt,
|
||||
restconf_reply_header(void *req0,
|
||||
const char *name,
|
||||
const char *vfmt,
|
||||
...)
|
||||
{
|
||||
FCGX_Request *req = (FCGX_Request *)req0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue