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