aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/test.h
blob: 481716e6f937d38a2c9e4a36be515b7aa6602016 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifdef HAVE_CONFIG_H
/* Now include the setup.h file from libcurl's private libdir (the source
   version, but that might include "config.h" from the build dir so we need
   both of them in the include path), so that we get good in-depth knowledge
   about the system we're building this on */
#include "setup.h"
#endif

#include <curl.h>
#include <stdio.h>
#include <string.h>

#ifndef FALSE
#define FALSE 0
#endif

#ifndef TRUE
#define TRUE 1
#endif

extern char *arg2; /* set by first.c to the argv[2] or NULL */
int test(char *URL); /* the actual test function provided by each individual
                        libXXX.c file */