server: use base64 function from lws

This commit is contained in:
Shuanglei Tao
2021-03-27 10:27:05 +08:00
parent 9c1e464e8c
commit cb758b9cc3
3 changed files with 4 additions and 36 deletions

View File

@@ -28,9 +28,6 @@ int get_sig(const char *sig_name);
// Open uri with the default application of system
int open_uri(char *uri);
// Encode text to base64, the caller should free the returned string
char *base64_encode(const unsigned char *buffer, size_t length);
#ifdef _WIN32
char *strsep(char **sp, char *sep);
const char *quote_arg(const char *arg);