about summary refs log tree commit diff stats
path: root/base64.h
diff options
context:
space:
mode:
Diffstat (limited to 'base64.h')
-rw-r--r--base64.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/base64.h b/base64.h
index eb0dfbb..7f7e319 100644
--- a/base64.h
+++ b/base64.h
@@ -24,20 +24,10 @@ unsigned int b64d_size(unsigned int in_size);
 // in_len : number of bytes to be encoded.
 // out : pointer to buffer with enough memory, user is responsible for memory allocation, receives null-terminated string
 // returns size of output including null byte
-unsigned int b64_encode(unsigned char* in, unsigned int in_len, unsigned char* out);
+unsigned int b64_encode(char* in, unsigned int in_len, char* out);
 
 // in : buffer of base64 string to be decoded.
 // in_len : number of bytes to be decoded.
 // out : pointer to buffer with enough memory, user is responsible for memory allocation, receives "raw" binary
 // returns size of output excluding null byte
-unsigned int b64_decode(unsigned char* in, unsigned int in_len, unsigned char* out);
-
-// file-version b64_encode
-// Input : filenames
-// returns size of output
-unsigned int b64_encodef(char *InFile, char *OutFile);
-
-// file-version b64_decode
-// Input : filenames
-// returns size of output
-unsigned int b64_decodef(char *InFile, char *OutFile);
+unsigned int b64_decode(char* in, unsigned int in_len, char* out);