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:
Anthony Minessale
2007-10-06 00:30:04 +00:00
parent d484959bc9
commit 7962945c39
5 changed files with 68 additions and 15 deletions
+2
View File
@@ -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) {