doom3-gpl
Doom 3 GPL source release
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
neo
curl
tests
libtest
first.c
Go to the documentation of this file.
1
#include "
test.h
"
2
3
#ifdef CURLDEBUG
4
/* provide a proto for this debug function */
5
extern
void
curl_memdebug
(
const
char
*);
6
#endif
7
8
/* test is provided in the test code file */
9
int
test
(
char
*url);
10
11
char
*
arg2
=
NULL
;
12
13
int
main
(
int
argc,
char
**argv)
14
{
15
char
*URL;
16
if
(argc< 2 ) {
17
fprintf(stderr,
"Pass URL as argument please\n"
);
18
return
1;
19
}
20
if
(argc>2)
21
arg2
=argv[2];
22
23
URL = argv[1];
/* provide this to the rest */
24
25
fprintf(stderr,
"URL: %s\n"
, URL);
26
27
#ifdef CURLDEBUG
28
curl_memdebug
(
"memdump"
);
29
#endif
30
return
test
(URL);
31
}
test.h
arg2
GLuint GLuint GLuint GLuint GLuint GLuint GLuint arg2
Definition:
glext.h:5286
test
int test(char *url)
Definition:
lib500.c:3
curl_memdebug
void curl_memdebug(void)
Definition:
memdebug.c:286
NULL
#define NULL
Definition:
Lib.h:88
main
int main(int argc, char **argv)
Definition:
first.c:13
This page is maintained by
Wladimir van der Laan
. Generated on Mon Nov 17 2014 12:23:15 for doom3-gpl by
1.8.6
.