The FreeRADIUS server $Id: f3670dba8951ca10eb4948feb3dc3db9423a334f $
Loading...
Searching...
No Matches
Data Structures | Macros | Functions | Variables
testlib.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  bdata
 
struct  info
 
struct  sdata
 
struct  symdata
 

Macros

#define __attribute__(x)
 
#define ATTRIBUTE_UNUSED   __attribute__ ((__unused__))
 
#define GCC_VERSION   (__GNUC__ * 1000 + __GNUC_MINOR__)
 

Functions

const char * base (const char *p)
 
int callback_one (void *, uintptr_t, const char *, int, const char *)
 
void callback_three (void *, uintptr_t, const char *, uintptr_t, uintptr_t)
 
int callback_two (void *, uintptr_t)
 
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 *, const char *, int)
 
void error_callback_one (void *, const char *, int)
 
void error_callback_three (void *, const char *, int)
 
void error_callback_two (void *, const char *, int)
 

Variables

int failures
 
void * state
 

Data Structure Documentation

◆ bdata

struct bdata

Definition at line 62 of file testlib.h.

+ Collaboration diagram for bdata:
Data Fields
struct info * all
int failed
size_t index
size_t max

◆ info

struct info

Definition at line 53 of file testlib.h.

Data Fields
char * filename
char * function
int lineno

◆ sdata

struct sdata

Definition at line 72 of file testlib.h.

Data Fields
uintptr_t * addrs
int failed
size_t index
size_t max

◆ symdata

struct symdata

Definition at line 82 of file testlib.h.

Data Fields
int failed
const char * name
uintptr_t size
uintptr_t val

Macro Definition Documentation

◆ __attribute__

Definition at line 44 of file testlib.h.

◆ ATTRIBUTE_UNUSED

#define ATTRIBUTE_UNUSED   __attribute__ ((__unused__))

Definition at line 48 of file testlib.h.

◆ GCC_VERSION

#define GCC_VERSION   (__GNUC__ * 1000 + __GNUC_MINOR__)

Definition at line 40 of file testlib.h.

Function Documentation

◆ base()

const char * base ( const char *  p)
extern

Definition at line 55 of file testlib.c.

+ Here is the caller graph for this function:

◆ callback_one()

int callback_one ( void *  ,
uintptr_t  ,
const char *  ,
int  ,
const char *   
)
extern

◆ callback_three()

void callback_three ( void *  ,
uintptr_t  ,
const char *  ,
uintptr_t  ,
uintptr_t   
)
extern

◆ callback_two()

int callback_two ( void *  vdata,
uintptr_t  pc 
)
extern

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 
)
extern

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 *  ,
const char *  ,
int   
)
extern

◆ error_callback_one()

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

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 
)
extern

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 
)
extern

Definition at line 178 of file testlib.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ failures

int failures
extern

Definition at line 50 of file testlib.c.

◆ state

void* state
extern

Definition at line 46 of file testlib.c.