smb_base64_encode
static char *smb_base64_encode(char *str_to_encode);
if ((tmp = smb_base64_encode(value)) == NULL) {