mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
make encoding optional none, base64 or url encoding
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5823 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -55,6 +55,8 @@ SWITCH_BEGIN_EXTERN_C
|
||||
#define switch_is_file_path(file) ((*file == '/') || strstr(file, SWITCH_URL_SEPARATOR))
|
||||
#endif
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_b64_encode(unsigned char *in, switch_size_t ilen, unsigned char *out, switch_size_t olen);
|
||||
|
||||
static inline switch_bool_t switch_is_digit_string(const char *s) {
|
||||
|
||||
while(s && *s) {
|
||||
|
||||
Reference in New Issue
Block a user