Wireshark
2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
wsutil
strnatcmp.h
1
/* strnatcmp.h
2
*
3
* Original code downloaded from: http://sourcefrog.net/projects/natsort/
4
5
strnatcmp.c -- Perform 'natural order' comparisons of strings in C.
6
Copyright (C) 2000, 2004 by Martin Pool <mbp sourcefrog net>
7
8
SPDX-License-Identifier: Zlib
9
*/
10
11
#ifndef STRNATCMP_H
12
#define STRNATCMP_H
13
14
#include "ws_symbol_export.h"
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
/* __cplusplus */
19
20
/* CUSTOMIZATION SECTION
21
*
22
* You can change this typedef, but must then also change the inline
23
* functions in strnatcmp.c */
24
typedef
char
nat_char;
25
26
WS_DLL_PUBLIC
int
ws_ascii_strnatcmp(nat_char
const
*a, nat_char
const
*b);
27
WS_DLL_PUBLIC
int
ws_ascii_strnatcasecmp(nat_char
const
*a, nat_char
const
*b);
28
29
#ifdef __cplusplus
30
}
31
#endif
/* __cplusplus */
32
33
#endif
/* STRNATCMP_H */
Generated by
1.8.11