doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
test.h
Go to the documentation of this file.
1 #ifdef HAVE_CONFIG_H
2 /* Now include the setup.h file from libcurl's private libdir (the source
3  version, but that might include "config.h" from the build dir so we need
4  both of them in the include path), so that we get good in-depth knowledge
5  about the system we're building this on */
6 #include "setup.h"
7 #endif
8 
9 #include <curl.h>
10 #include <stdio.h>
11 #include <string.h>
12 
13 #ifdef HAVE_SYS_SOCKET_H
14 #include <sys/socket.h>
15 #endif
16 #ifdef HAVE_SYS_SELECT_H
17 /* since so many tests use select(), we can just as well include it here */
18 #include <sys/select.h>
19 #endif
20 #ifdef HAVE_UNISTD_H
21 /* at least somewhat oldish FreeBSD systems need this for select() */
22 #include <unistd.h>
23 #endif
24 
25 #ifndef FALSE
26 #define FALSE 0
27 #endif
28 
29 #ifndef TRUE
30 #define TRUE 1
31 #endif
32 
33 extern char *arg2; /* set by first.c to the argv[2] or NULL */
34 int test(char *URL); /* the actual test function provided by each individual
35  libXXX.c file */
int test(char *URL)
Definition: lib500.c:3
char * arg2
Definition: first.c:11