includes/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

Defines

#define TESTS_T_API_H   1
#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)   (*(av + (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 []

Define Documentation

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

Definition at line 58 of file t_api.h.

#define T_FAIL   0x2

Definition at line 38 of file t_api.h.

#define T_MAXTOKS   16

Definition at line 57 of file t_api.h.

#define T_OPTIONAL   0x0

Definition at line 50 of file t_api.h.

#define T_PASS   0x1

Definition at line 37 of file t_api.h.

#define T_REQUIRED   0x1

Definition at line 51 of file t_api.h.

#define T_THREADONLY   0x6

Definition at line 42 of file t_api.h.

#define T_UNRESOLVED   0x3

Definition at line 39 of file t_api.h.

#define T_UNSUPPORTED   0x4

Definition at line 40 of file t_api.h.

#define T_UNTESTED   0x5

Definition at line 41 of file t_api.h.

#define TESTS_T_API_H   1

Definition at line 21 of file t_api.h.


Typedef Documentation

typedef void(* PFV)(void)

Definition at line 60 of file t_api.h.


Function Documentation

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

Variable Documentation


Generated on 5 Apr 2014 for ISC DHCP by  doxygen 1.6.1