dcerpc-nt: add UNION_ALIGN_TO... helpers
[wireshark-sm.git] / wsutil / cfutils.h
blob12cbefef4c89a8dc7c5168545c55ab343355fb24
1 /** @file
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
4 * arbitrary size.
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"
18 #ifdef __cplusplus
19 extern "C" {
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);
27 #ifdef __cplusplus
29 #endif /* __cplusplus */
31 #endif /* __WSUTIL_CFUTILS_H__ */