contrib/dlz/example/dlz_example.c
/*
   remember a helper function from the bind9 dlz_dlopen driver
 */
remember a helper function from the bind9 dlz_dlopen driver
remember a helper function from the bind9 dlz_dlopen driver
static void b9_add_helper(struct dlz_example_data *state, const char *helper_name, void *ptr)
{
	if (strcmp(helper_name, "log") == 0) {
		state->log = ptr;
	}
	if (strcmp(helper_name, "putrr") == 0) {
		state->putrr = ptr;
	}
	if (strcmp(helper_name, "putnamedrr") == 0) {
		state->putnamedrr = ptr;
	}
	if (strcmp(helper_name, "writeable_zone") == 0) {
		state->writeable_zone = ptr;
	}
}
static void b9_add_helper ( struct dlz_example_data * state , const char * helper_name , void * ptr ) { if ( strcmp ( helper_name , " " ) == 0 ) { state -> log = ptr ; } if ( strcmp ( helper_name , " " ) == 0 ) { state -> putrr = ptr ; } if ( strcmp ( helper_name , " " ) == 0 ) { state -> putnamedrr = ptr ; } if ( strcmp ( helper_name , " " ) == 0 ) { state -> writeable_zone = ptr ; } }
remember a helper function from the bind9 dlz_dlopen driver
remember a helper function from the bind9 dlz_dlopen driver