2 * Declarations of routines to work around deficiencies in Core Foundation,
3 * such as the lack of a routine to convert a CFString to a C string of
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 2001 Gerald Combs
10 * SPDX-License-Identifier: GPL-2.0-or-later
13 #ifndef __WSUTIL_CFUTILS_H__
14 #define __WSUTIL_CFUTILS_H__
16 #include "ws_symbol_export.h"
20 #endif /* __cplusplus */
23 * Convert a CFString to a g_malloc()ated C string.
25 WS_DLL_PUBLIC
char *CFString_to_C_string(CFStringRef cfstring
);
29 #endif /* __cplusplus */
31 #endif /* __WSUTIL_CFUTILS_H__ */