symtab_test.c File Reference

#include <config.h>
#include <atf-c.h>
#include <unistd.h>
#include <isc/symtab.h>
#include <isc/print.h>
#include "isctest.h"

Go to the source code of this file.

Functions

static void undefine (char *key, unsigned int type, isc_symvalue_t value, void *arg)
 ATF_TC (symtab_grow)
 ATF_TC_HEAD (symtab_grow, tc)
 ATF_TC_BODY (symtab_grow, tc)
 ATF_TP_ADD_TCS (tp)


Detailed Description

Definition in file symtab_test.c.


Function Documentation

static void undefine ( char *  key,
unsigned int  type,
isc_symvalue_t  value,
void *  arg 
) [static]

Definition at line 33 of file symtab_test.c.

References isc_symvalue::as_pointer, isc_mem_free, mctx, and UNUSED.

Referenced by ATF_TC_BODY().

ATF_TC ( symtab_grow   ) 

ATF_TC_HEAD ( symtab_grow  ,
tc   
)

Definition at line 46 of file symtab_test.c.

ATF_TC_BODY ( symtab_grow  ,
tc   
)

Definition at line 49 of file symtab_test.c.

References isc_symvalue::as_pointer, ISC_FALSE, isc_mem_strdup, ISC_R_EXISTS, ISC_R_NOTFOUND, ISC_R_SUCCESS, isc_symexists_reject, isc_symtab_create(), isc_symtab_define(), isc_symtab_destroy(), isc_symtab_lookup(), isc_symtab_undefine(), isc_test_begin(), isc_test_end(), ISC_TRUE, key, mctx, str, undefine(), and UNUSED.

ATF_TP_ADD_TCS ( tp   ) 

Definition at line 142 of file symtab_test.c.


Generated on Tue Apr 28 17:41:18 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha