bin/tests/system/dlzexternal/driver.c
/*
 * See if we handle a given zone
 */
See if we handle a given zone
See if we handle a given zone
isc_result_t
dlz_findzonedb(void *dbdata, const char *name) {
	struct dlz_example_data *state = (struct dlz_example_data *)dbdata;
	if (strcasecmp(state->zone_name, name) == 0)
		return (ISC_R_SUCCESS);
	return (ISC_R_NOTFOUND);
}
isc_result_t dlz_findzonedb ( void * dbdata , const char * name ) { struct dlz_example_data * state = ( struct dlz_example_data * ) dbdata ; if ( strcasecmp ( state -> zone_name , name ) == 0 ) return ( ISC_R_SUCCESS ) ; return ( ISC_R_NOTFOUND ) ; }
See if we handle a given zone
See if we handle a given zone