xref: /freebsd/contrib/tcpdump/ascii_strcasecmp.h (revision 9b3ece1c2eb92a881cb2553271e123382bfe31c1)
1*3340d773SGleb Smirnoff /*
2*3340d773SGleb Smirnoff  * Copyright (c) 1988-1997
3*3340d773SGleb Smirnoff  *	The Regents of the University of California.  All rights reserved.
4*3340d773SGleb Smirnoff  *
5*3340d773SGleb Smirnoff  * Copyright (c) 1998-2012  Michael Richardson <mcr@tcpdump.org>
6*3340d773SGleb Smirnoff  *      The TCPDUMP project
7*3340d773SGleb Smirnoff  *
8*3340d773SGleb Smirnoff  * Redistribution and use in source and binary forms, with or without
9*3340d773SGleb Smirnoff  * modification, are permitted provided that: (1) source code distributions
10*3340d773SGleb Smirnoff  * retain the above copyright notice and this paragraph in its entirety, (2)
11*3340d773SGleb Smirnoff  * distributions including binary code include the above copyright notice and
12*3340d773SGleb Smirnoff  * this paragraph in its entirety in the documentation or other materials
13*3340d773SGleb Smirnoff  * provided with the distribution, and (3) all advertising materials mentioning
14*3340d773SGleb Smirnoff  * features or use of this software display the following acknowledgement:
15*3340d773SGleb Smirnoff  * ``This product includes software developed by the University of California,
16*3340d773SGleb Smirnoff  * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of
17*3340d773SGleb Smirnoff  * the University nor the names of its contributors may be used to endorse
18*3340d773SGleb Smirnoff  * or promote products derived from this software without specific prior
19*3340d773SGleb Smirnoff  * written permission.
20*3340d773SGleb Smirnoff  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
21*3340d773SGleb Smirnoff  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
22*3340d773SGleb Smirnoff  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
23*3340d773SGleb Smirnoff  */
24*3340d773SGleb Smirnoff 
25*3340d773SGleb Smirnoff #ifndef netdissect_ascii_strcasecmp_h
26*3340d773SGleb Smirnoff #define netdissect_ascii_strcasecmp_h
27*3340d773SGleb Smirnoff 
28*3340d773SGleb Smirnoff #include <stddef.h>
29*3340d773SGleb Smirnoff 
30*3340d773SGleb Smirnoff extern int ascii_strcasecmp(const char *, const char *);
31*3340d773SGleb Smirnoff extern int ascii_strncasecmp(const char *, const char *, size_t);
32*3340d773SGleb Smirnoff 
33*3340d773SGleb Smirnoff #endif /* netdissect_ascii_strcasecmp_h */
34