mechtools.c File Reference

#include "mechtools.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <gsasl.h>

Go to the source code of this file.


int _gsasl_parse_gs2_header (const char *data, size_t len, char **authzid, size_t *headerlen)
int _gsasl_gs2_generate_header (bool nonstd, char cbflag, const char *cbname, const char *authzid, size_t extralen, const char *extra, char **gs2h, size_t *gs2hlen)

Function Documentation

int _gsasl_gs2_generate_header ( bool  nonstd,
char  cbflag,
const char *  cbname,
const char *  authzid,
size_t  extralen,
const char *  extra,
char **  gs2h,
size_t *  gs2hlen 

Definition at line 168 of file mechtools.c.

int _gsasl_parse_gs2_header ( const char *  data,
size_t  len,
char **  authzid,
size_t *  headerlen 

Definition at line 96 of file mechtools.c.