Add support for the --browser option

This commit is contained in:
Shuanglei Tao
2017-02-05 17:36:19 +08:00
parent 82148cd613
commit e4c4fea1cb
5 changed files with 44 additions and 1 deletions

View File

@@ -25,6 +25,10 @@ get_sig_name(int sig, char *buf);
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);