24 lines
451 B
C
24 lines
451 B
C
#ifndef _SF_BASE64_H_
|
|
#define _SF_BASE64_H_
|
|
#include "sf_type.h"
|
|
#ifdef __cplusplus
|
|
#if __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#endif
|
|
|
|
int sf_base64_decode(const char * base64, char * bindata);
|
|
|
|
char * sf_base64_encode(const char * bindata, char * base64, int binlength, int model);
|
|
|
|
int URLEncode(const char* str, const int strSize, char* result, const int resultSize);
|
|
|
|
#ifdef __cplusplus
|
|
#if __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|
|
|
|
#endif
|
|
|