Why not Expose the internal Base64 decoding like this (in InkAPI.cc):

// Expose internal Base64 decoding
tsapi char * TSbase64Decode(const char * input, int input_len, int *output_len){
        return ink_base64_decode(input, input_len, output_len);
}

tsapi char * TSbase64Eecode(const char * input, int input_len, int *output_len){
        return ink_base64_encode(input, input_len, output_len);
}


And also in the declaration file (ts.h):

  // Expose internal Base64 decoding
  tsapi char * TSbase64Decode(const char * input, int input_len, int 
*output_len);
  tsapi char * TSbase64Eecode(const char * input, int input_len, int 
*output_len);

Regards,
Yakov kopel

YAKOV KOPEL
Software Engineer

SECURITY SOFTWARE WEBSENSE ISRAEL LTD.
ph: +972.9.776.0226
fax: 
www.websense.com

Websense TRITON(tm)
For Essential Information Protection(tm)
Web Security | Data Security | Email Security



 Protected by Websense Hosted Email Security -- www.websense.com 

Reply via email to