Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
strnatcmp.h
Go to the documentation of this file.
1
11#ifndef STRNATCMP_H
12#define STRNATCMP_H
13
14#include "ws_symbol_export.h"
15
16#ifdef __cplusplus
17extern "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 */
24typedef char nat_char;
25
40WS_DLL_PUBLIC int ws_ascii_strnatcmp(nat_char const *a, nat_char const *b);
41
55WS_DLL_PUBLIC int ws_ascii_strnatcasecmp(nat_char const *a, nat_char const *b);
56
57#ifdef __cplusplus
58}
59#endif /* __cplusplus */
60
61#endif /* STRNATCMP_H */
WS_DLL_PUBLIC int ws_ascii_strnatcmp(nat_char const *a, nat_char const *b)
Performs ASCII natural-order string comparison (case-sensitive).
Definition strnatcmp.c:164
WS_DLL_PUBLIC int ws_ascii_strnatcasecmp(nat_char const *a, nat_char const *b)
Performs ASCII natural-order string comparison (case-insensitive).
Definition strnatcmp.c:171