The FreeRADIUS server $Id: f3670dba8951ca10eb4948feb3dc3db9423a334f $
Loading...
Searching...
No Matches
Functions | Variables
testlib.c File Reference
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "filenames.h"
#include "backtrace.h"
#include "testlib.h"
+ Include dependency graph for testlib.c:

Go to the source code of this file.

Functions

const char * base (const char *p)
 
int callback_one (void *vdata, uintptr_t pc ATTRIBUTE_UNUSED, const char *filename, int lineno, const char *function)
 
void callback_three (void *vdata, uintptr_t pc ATTRIBUTE_UNUSED, const char *symname, uintptr_t symval, uintptr_t symsize)
 
int callback_two (void *vdata, uintptr_t pc)
 
void check (const char *name, int index, const struct info *all, int want_lineno, const char *want_function, const char *want_file, int *failed)
 
void error_callback_create (void *data ATTRIBUTE_UNUSED, const char *msg, int errnum)
 
void error_callback_one (void *vdata, const char *msg, int errnum)
 
void error_callback_three (void *vdata, const char *msg, int errnum)
 
void error_callback_two (void *vdata, const char *msg, int errnum)
 

Variables

int failures
 
void * state
 

Function Documentation

◆ base()

const char * base ( const char *  p)

Definition at line 55 of file testlib.c.

+ Here is the caller graph for this function:

◆ callback_one()

int callback_one ( void *  vdata,
uintptr_t pc  ATTRIBUTE_UNUSED,
const char *  filename,
int  lineno,
const char *  function 
)

Definition at line 107 of file testlib.c.

+ Here is the caller graph for this function:

◆ callback_three()

void callback_three ( void *  vdata,
uintptr_t pc  ATTRIBUTE_UNUSED,
const char *  symname,
uintptr_t  symval,
uintptr_t  symsize 
)

Definition at line 192 of file testlib.c.

+ Here is the caller graph for this function:

◆ callback_two()

int callback_two ( void *  vdata,
uintptr_t  pc 
)

Definition at line 158 of file testlib.c.

+ Here is the caller graph for this function:

◆ check()

void check ( const char *  name,
int  index,
const struct info all,
int  want_lineno,
const char *  want_function,
const char *  want_file,
int *  failed 
)

Definition at line 72 of file testlib.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ error_callback_create()

void error_callback_create ( void *data  ATTRIBUTE_UNUSED,
const char *  msg,
int  errnum 
)

Definition at line 226 of file testlib.c.

+ Here is the caller graph for this function:

◆ error_callback_one()

void error_callback_one ( void *  vdata,
const char *  msg,
int  errnum 
)

Definition at line 144 of file testlib.c.

+ Here is the caller graph for this function:

◆ error_callback_three()

void error_callback_three ( void *  vdata,
const char *  msg,
int  errnum 
)

Definition at line 212 of file testlib.c.

+ Here is the caller graph for this function:

◆ error_callback_two()

void error_callback_two ( void *  vdata,
const char *  msg,
int  errnum 
)

Definition at line 178 of file testlib.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ failures

int failures

Definition at line 50 of file testlib.c.

◆ state

void* state

Definition at line 46 of file testlib.c.