ISC DHCP 4.4.3-P1
A reference DHCPv4 and DHCPv6 implementation
 
Loading...
Searching...
No Matches
t_api.h File Reference
#include <stdio.h>
#include <omapip/result.h>
#include <isc/lang.h>
#include <isc/formatcheck.h>

Go to the source code of this file.

Data Structures

struct  testspec_t
 

Macros

#define T_PASS   0x1
 
#define T_FAIL   0x2
 
#define T_UNRESOLVED   0x3
 
#define T_UNSUPPORTED   0x4
 
#define T_UNTESTED   0x5
 
#define T_THREADONLY   0x6
 
#define T_OPTIONAL   0x0
 
#define T_REQUIRED   0x1
 
#define T_MAXTOKS   16
 
#define T_ARG(n)
 

Typedefs

typedef void(* PFV) (void)
 

Functions

ISC_LANG_BEGINDECLS void t_assert (const char *component, int anum, int class, const char *what,...) ISC_FORMAT_PRINTF(4
 
ISC_LANG_BEGINDECLS void void t_info (const char *format,...) ISC_FORMAT_PRINTF(1
 
ISC_LANG_BEGINDECLS void void void t_result (int result)
 
char * t_getenv (const char *name)
 
char * t_fgetbs (FILE *fp)
 
isc_result_t t_dns_result_fromtext (char *result)
 
unsigned int t_dc_method_fromtext (char *dc_method)
 
int t_bustline (char *line, char **toks)
 
int t_eval (const char *filename, int(*func)(char **), int nargs)
 

Variables

int T_debug
 
testspec_t T_testlist []
 

Macro Definition Documentation

◆ T_ARG

#define T_ARG ( n)
Value:
(*(av + (n)))

Definition at line 58 of file t_api.h.

◆ T_FAIL

#define T_FAIL   0x2

Definition at line 38 of file t_api.h.

◆ T_MAXTOKS

#define T_MAXTOKS   16

Definition at line 57 of file t_api.h.

◆ T_OPTIONAL

#define T_OPTIONAL   0x0

Definition at line 50 of file t_api.h.

◆ T_PASS

#define T_PASS   0x1

Definition at line 37 of file t_api.h.

◆ T_REQUIRED

#define T_REQUIRED   0x1

Definition at line 51 of file t_api.h.

◆ T_THREADONLY

#define T_THREADONLY   0x6

Definition at line 42 of file t_api.h.

◆ T_UNRESOLVED

#define T_UNRESOLVED   0x3

Definition at line 39 of file t_api.h.

◆ T_UNSUPPORTED

#define T_UNSUPPORTED   0x4

Definition at line 40 of file t_api.h.

◆ T_UNTESTED

#define T_UNTESTED   0x5

Definition at line 41 of file t_api.h.

Typedef Documentation

◆ PFV

typedef void(* PFV) (void)

Definition at line 60 of file t_api.h.

Function Documentation

◆ t_assert()

ISC_LANG_BEGINDECLS void t_assert ( const char * component,
int anum,
int class,
const char * what,
... )

◆ t_bustline()

int t_bustline ( char * line,
char ** toks )

◆ t_dc_method_fromtext()

unsigned int t_dc_method_fromtext ( char * dc_method)

◆ t_dns_result_fromtext()

isc_result_t t_dns_result_fromtext ( char * result)

◆ t_eval()

int t_eval ( const char * filename,
int(* func )(char **),
int nargs )

◆ t_fgetbs()

char * t_fgetbs ( FILE * fp)

◆ t_getenv()

char * t_getenv ( const char * name)

◆ t_info()

ISC_LANG_BEGINDECLS void void t_info ( const char * format,
... )

◆ t_result()

ISC_LANG_BEGINDECLS void void void t_result ( int result)

Variable Documentation

◆ T_debug

int T_debug
extern

◆ T_testlist

testspec_t T_testlist[]
extern