Debian Codegraph @

android/app/jni/extern/nfd-modified/src/nfd_common.h

raw
1 /*
2 Native File Dialog
3
4 Internal, common across platforms
5
6 http://www.frogtoss.com/labs
7 */
8
9
10 #ifndef _NFD_COMMON_H
11 #define _NFD_COMMON_H
12
13 #include "nfd.h"
14
15 #include <stdint.h>
16
17 #define NFD_MAX_STRLEN 256
18 #define _NFD_UNUSED(x) ((void)x)
19
20 #define NFD_UTF8_BOM "\xEF\xBB\xBF"
21
22
23 void *NFDi_Malloc( size_t bytes );
24 void NFDi_Free( void *ptr );
25 void NFDi_SetError( const char *msg );
26 int NFDi_SafeStrncpy( char *dst, const char *src, size_t maxCopy );
27 int32_t NFDi_UTF8_Strlen( const nfdchar_t *str );
28 int NFDi_IsFilterSegmentChar( char ch );
29
30
31 #endif