ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/ermyth/include/match.h
(Generate patch)

Comparing ermyth/include/match.h (file contents):
Revision 1.2 by pippijn, Sat Jul 21 01:29:07 2007 UTC vs.
Revision 1.3 by pippijn, Tue Aug 28 17:08:06 2007 UTC

1/* 1/*
2 * Copyright © 2003-2004 E. Will et al. 2 * Copyright © 2003-2004 E. Will et al.
3 * Copyright © 2005-2006 Atheme Development Group 3 * Copyright © 2005-2006 Atheme Development Group
4 * Rights to this code are as defined in doc/pod/license.pod. 4 * Rights to this code are as defined in doc/pod/license.pod.
5 * 5 *
6 * String matching 6 * String matching
7 * 7 *
8 * $Id: match.h,v 1.2 2007/07/21 01:29:07 pippijn Exp $ 8 * $Id: match.h,v 1.3 2007/08/28 17:08:06 pippijn Exp $
9 */ 9 */
10 10
11#ifndef _MATCH_H 11#ifndef _MATCH_H
12#define _MATCH_H 12#define _MATCH_H
13 13
14/* cidr.c */ 14/* cidr.c */
15E int match_ips (const char *mask, const char *address); 15E int match_ips (char const * const mask, char const * const address);
16E int match_cidr (const char *mask, const char *address); 16E int match_cidr (char const * const mask, char const * const address);
17 17
18/* match.c */ 18/* match.c */
19#define MATCH_RFC1459 0 19#define MATCH_RFC1459 0
20#define MATCH_ASCII 1 20#define MATCH_ASCII 1
21 21
40void set_match_mapping (int); 40void set_match_mapping (int);
41 41
42E int ToLower (int); 42E int ToLower (int);
43E int ToUpper (int); 43E int ToUpper (int);
44 44
45E int irccasecmp (const char *, const char *); 45E int match (char const * const mask, char const * const name);
46E int ircncasecmp (const char *, const char *, int);
47
48E int match (const char *, const char *);
49E char *collapse (char *); 46E char *collapse (char *);
50 47
51/* regex_create() flags */ 48/* regex_create() flags */
52#define AREGEX_ICASE 1 /* case insensitive */ 49#define AREGEX_ICASE 1 /* case insensitive */
53 50

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines