⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ap_base64.h

📁 ftpserver very good sample
💻 H
字号:
/** */#ifndef WAR_AP_BASE64_H#define WAR_AP_BASE64_H/* SYSTEM INCLUDES *//* PROJECT INCLUDES *//* LOCAL INCLUDES *//* FORWARD REFERENCES */#ifdef __cplusplusextern "C" {#endif/****************** BEGIN OLD STYLE C spesific ********/#ifndef API_EXPORT#	define API_EXPORT(type) type#endif/* From ap/ap.h.  * See copyright notice in clib/apache/ap_base64.c  *//* Simple BASE64 encode/decode functions. *  * As we might encode binary strings, hence we require the length of * the incoming plain source. And return the length of what we decoded. * * The decoding function takes any non valid char (i.e. whitespace, \0 * or anything non A-Z,0-9 etc as terminal. *  * plain strings/binary sequences are not assumed '\0' terminated. Encoded * strings are neither. But propably should. * */API_EXPORT(int) ap_base64encode_len(int len);API_EXPORT(int) ap_base64encode(char * coded_dst, const char *plain_src,int len_plain_src);API_EXPORT(int) ap_base64encode_binary(char * coded_dst, const unsigned char *plain_src,int len_plain_src);API_EXPORT(int) ap_base64decode_len(const char * coded_src);API_EXPORT(int) ap_base64decode(char * plain_dst, const char *coded_src);API_EXPORT(int) ap_base64decode_binary(unsigned char * plain_dst, const char *coded_src);/****************** END OLD STYLE C spesific **********/#ifdef __cplusplus }#endif/****************** BEGIN C++ spesific ****************/#ifdef __cplusplus/* INLINE METHODS *//* EXTERNAL REFERENCES */#endif /* __cplusplus *//****************** END C++ spesific ******************/#endif  /* WAR_AP_BASE64_H_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -