dcerpc-nt: add UNION_ALIGN_TO... helpers
[wireshark-sm.git] / wsutil / strnatcmp.h
blob0ebe1f6f4fddbf90c3be789a48c7c63f2bf8db51
1 /** @file
3 * Original code downloaded from: http://sourcefrog.net/projects/natsort/
5 strnatcmp.c -- Perform 'natural order' comparisons of strings in C.
6 Copyright (C) 2000, 2004 by Martin Pool <mbp sourcefrog net>
8 SPDX-License-Identifier: Zlib
9 */
11 #ifndef STRNATCMP_H
12 #define STRNATCMP_H
14 #include "ws_symbol_export.h"
16 #ifdef __cplusplus
17 extern "C" {
18 #endif /* __cplusplus */
20 /* CUSTOMIZATION SECTION
22 * You can change this typedef, but must then also change the inline
23 * functions in strnatcmp.c */
24 typedef char nat_char;
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);
29 #ifdef __cplusplus
31 #endif /* __cplusplus */
33 #endif /* STRNATCMP_H */