doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Enumerations | Functions
urlglob.c File Reference
#include "setup.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <curl/curl.h>
#include <curl/mprintf.h>
#include "urlglob.h"

Go to the source code of this file.

Macros

#define _MPRINTF_REPLACE   /* we want curl-functions instead of native ones */
 

Enumerations

enum  GlobCode { GLOB_OK, GLOB_ERROR }
 

Functions

int glob_url (URLGlob **glob, char *url, int *urlnum, FILE *error)
 
void glob_cleanup (URLGlob *glob)
 
char * glob_next_url (URLGlob *glob)
 
char * glob_match_url (char *filename, URLGlob *glob)
 

Macro Definition Documentation

#define _MPRINTF_REPLACE   /* we want curl-functions instead of native ones */

Definition at line 33 of file urlglob.c.

Enumeration Type Documentation

enum GlobCode
Enumerator
GLOB_OK 
GLOB_ERROR 

Definition at line 43 of file urlglob.c.

Function Documentation

void glob_cleanup ( URLGlob glob)

Definition at line 328 of file urlglob.c.

char* glob_match_url ( char *  filename,
URLGlob glob 
)

Definition at line 428 of file urlglob.c.

char* glob_next_url ( URLGlob glob)

Definition at line 351 of file urlglob.c.

int glob_url ( URLGlob **  glob,
char *  url,
int urlnum,
FILE *  error 
)

Definition at line 285 of file urlglob.c.