Delta Chat Core C-API
dc_strencode.h
1 #ifndef __DC_STRENCODE_H__
2 #define __DC_STRENCODE_H__
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6 
7 
8 char* dc_urlencode (const char*);
9 char* dc_urldecode (const char*);
10 
11 char* dc_encode_header_words (const char*);
12 char* dc_decode_header_words (const char*);
13 
14 char* dc_encode_modified_utf7 (const char*, int change_spaces);
15 char* dc_decode_modified_utf7 (const char*, int change_spaces);
16 
17 int dc_needs_ext_header (const char*);
18 char* dc_encode_ext_header (const char*);
19 char* dc_decode_ext_header (const char*);
20 
21 
22 #ifdef __cplusplus
23 } // /extern "C"
24 #endif
25 #endif // __DC_STRENCODE_H__
26