Changeset 88 in libcf for trunk/include/cf_codec.h
- Timestamp:
- 05/17/13 02:17:16 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/cf_codec.h
r86 r88 7 7 * @example codec.c 8 8 */ 9 #ifndef __CF_CODEC_H__ 10 #define __CF_CODEC_H__ 11 9 12 #include "cf_base.h" 10 13 11 14 #include <stddef.h> 12 13 #ifndef __CF_CODEC_H__14 #define __CF_CODEC_H__15 15 16 16 #ifdef __cplusplus … … 19 19 20 20 CF_EXPORT int 21 CF_Codec_Hex_Encode (const unsigned char * bin,22 const size_t len,23 char * hex);21 CF_Codec_Hex_Encode (const unsigned char * bin, 22 const size_t len, 23 char * hex); 24 24 25 25 CF_EXPORT int 26 CF_Codec_Hex_Decode (const char * hex, 27 unsigned char * bin, 28 size_t * len); 26 CF_Codec_Hex_Decode (const char * hex, 27 unsigned char * bin, 28 size_t * len); 29 30 CF_EXPORT int 31 CF_Codec_Base64_Encode (const unsigned char * bin, 32 const size_t len, 33 char * base64); 34 35 CF_EXPORT int 36 CF_Codec_Base64_Decode (const char * base64, 37 unsigned char * bin, 38 size_t * len); 29 39 30 40 #ifdef __cplusplus
Note:
See TracChangeset
for help on using the changeset viewer.