1 #ifndef __UCLIENT_UTILS_H
2 #define __UCLIENT_UTILS_H
6 static inline int base64_len(int len
)
8 return ((len
+ 2) / 3) * 4;
11 void base64_encode(const void *inbuf
, unsigned int len
, void *out
);
13 int uclient_urldecode(const char *in
, char *out
, bool decode_plus
);