ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/include/irc_string.h
(Generate patch)

Comparing:
ircd-hybrid-7.3/include/irc_string.h (file contents), Revision 1045 by michael, Tue Jan 26 12:58:42 2010 UTC vs.
ircd-hybrid/trunk/include/irc_string.h (file contents), Revision 1653 by michael, Wed Nov 14 11:50:55 2012 UTC

# Line 27 | Line 27
27  
28   #include "config.h"
29  
30 +
31 + extern int has_wildcards(const char *);
32   extern int ircd_pcre_exec(const void *, const char *);
33   extern void *ircd_pcre_compile(const char *, const char **);
32 –
33 – /*
34 – * match - compare name with mask, mask may contain * and ? as wildcards
35 – * match - returns 1 on successful match, 0 otherwise
36 – *
37 – * match_esc - compare with support for escaping chars
38 – * match_chan - like match_esc with first character auto-escaped
39 – */
34   extern int match(const char *, const char *);
41 – extern int match_esc(const char *, const char *);
42 – extern int match_chan(const char *, const char *);
35  
36   /*
37   * collapse - collapse a string in place, converts multiple adjacent *'s
38   * into a single *.
39   * collapse - modifies the contents of pattern
48 – *
49 – * collapse_esc() - collapse with support for escaping chars
40   */
41   extern char *collapse(char *);
52 – extern char *collapse_esc(char *);
42  
43   /*
44   * NOTE: The following functions are NOT the same as strcasecmp
# Line 65 | Line 54 | extern int irccmp(const char *, const ch
54   */
55   extern int ircncmp(const char *, const char *, size_t);
56  
68 – /*
69 – * inetntoa - optimized inet_ntoa
70 – */
71 – extern const char *inetntoa(const char *);
72 –
73 – /* XXX
74 – * inetntop()
75 – * portable interface for inet_ntop(), kludge; please use inet_ntop if possible
76 – * since inet_misc has a more conformant one
77 – */
78 – extern const char *inetntop(int, const void *, char *, unsigned int);
79 –  
57   #ifndef HAVE_STRLCPY
58   extern size_t strlcpy(char *, const char *, size_t);
59   #endif

Diff Legend

– Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)