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
src
urlglob.h
Go to the documentation of this file.
1
#ifndef __URLGLOB_H
2
#define __URLGLOB_H
3
/***************************************************************************
4
* _ _ ____ _
5
* Project ___| | | | _ \| |
6
* / __| | | | |_) | |
7
* | (__| |_| | _ <| |___
8
* \___|\___/|_| \_\_____|
9
*
10
* Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
11
*
12
* This software is licensed as described in the file COPYING, which
13
* you should have received as part of this distribution. The terms
14
* are also available at http://curl.haxx.se/docs/copyright.html.
15
*
16
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
17
* copies of the Software, and permit persons to whom the Software is
18
* furnished to do so, under the terms of the COPYING file.
19
*
20
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21
* KIND, either express or implied.
22
*
23
* $Id: urlglob.h,v 1.15 2004/03/08 12:51:33 bagder Exp $
24
***************************************************************************/
25
typedef
enum
{
26
UPTSet
=1,
27
UPTCharRange
,
28
UPTNumRange
29
}
URLPatternType
;
30
31
typedef
struct
{
32
URLPatternType
type
;
33
union
{
34
struct
{
35
char
**
elements
;
36
short
size
;
37
short
ptr_s
;
38
} Set;
39
struct
{
40
char
min_c
, max_c;
41
char
ptr_c
;
42
} CharRange;
43
struct
{
44
int
min_n
, max_n;
45
short
padlength
;
46
int
ptr_n
;
47
} NumRange ;
48
} content;
49
}
URLPattern
;
50
51
typedef
struct
{
52
char
* literal[10];
53
URLPattern
pattern
[9];
54
int
size
;
55
int
urllen
;
56
char
*
glob_buffer
;
57
char
beenhere
;
58
char
errormsg[80];
/* error message buffer */
59
}
URLGlob
;
60
61
int
glob_url
(
URLGlob
**,
char
*,
int
*, FILE *);
62
char
*
glob_next_url
(
URLGlob
*);
63
char
*
glob_match_url
(
char
*,
URLGlob
*);
64
void
glob_cleanup
(
URLGlob
* glob);
65
66
#endif
glob_next_url
char * glob_next_url(URLGlob *)
Definition:
urlglob.c:351
URLPattern::size
short size
Definition:
urlglob.h:36
UPTCharRange
Definition:
urlglob.h:27
URLPattern
Definition:
urlglob.h:31
URLGlob
Definition:
urlglob.h:51
URLGlob::urllen
int urllen
Definition:
urlglob.h:55
URLPattern::min_n
int min_n
Definition:
urlglob.h:44
URLGlob::glob_buffer
char * glob_buffer
Definition:
urlglob.h:56
glob_url
int glob_url(URLGlob **, char *, int *, FILE *)
Definition:
urlglob.c:285
URLPattern::ptr_c
char ptr_c
Definition:
urlglob.h:41
glob_match_url
char * glob_match_url(char *, URLGlob *)
Definition:
urlglob.c:428
URLGlob::beenhere
char beenhere
Definition:
urlglob.h:57
URLPattern::elements
char ** elements
Definition:
urlglob.h:35
URLPattern::padlength
short padlength
Definition:
urlglob.h:45
UPTNumRange
Definition:
urlglob.h:28
URLPattern::ptr_s
short ptr_s
Definition:
urlglob.h:37
URLGlob::size
int size
Definition:
urlglob.h:54
glob_cleanup
void glob_cleanup(URLGlob *glob)
Definition:
urlglob.c:328
pattern
GLushort pattern
Definition:
qgl.h:331
URLPattern::ptr_n
int ptr_n
Definition:
urlglob.h:46
URLPattern::type
URLPatternType type
Definition:
urlglob.h:32
URLPatternType
URLPatternType
Definition:
urlglob.h:25
URLPattern::min_c
char min_c
Definition:
urlglob.h:40
UPTSet
Definition:
urlglob.h:26
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
.