if (!ht->template) { for (n = 0; n < ht->callbackCount; n++) { CallbackInfo* ci = &ht->callbackInfo[n]; if (ci->dataDataRecordCallbackFunction) ci->dataDataRecordCallbackFunction(ci->handle, 0, ht->dataTemplate, ht->fieldLength, bucket->data); } } else { for (n = 0; n < ht->callbackCount; n++) { CallbackInfo* ci = &ht->callbackInfo[n]; if (ci->dataRecordCallbackFunction) ci->dataRecordCallbackFunction(ci->handle, 0, ht->template, ht->fieldLength, bucket->data); }
for (n = 0; n < ht->callbackCount; n++) { CallbackInfo* ci = &ht->callbackInfo[n]; if (ci->dataDataRecordCallbackFunction) ci->dataDataRecordCallbackFunction(ci->handle, 0, ht->dataTemplate, ht->fieldLength, bucket->data);
void exportBucket(Hashtable* ht, HashBucket* bucket) {	/* Pass Data Record to exporter interface */	int n;			if (!ht->template) {		for (n = 0; n < ht->callbackCount; n++) {			CallbackInfo* ci = &ht->callbackInfo[n];			if (ci->dataDataRecordCallbackFunction) ci->dataDataRecordCallbackFunction(ci->handle, 0, ht->dataTemplate, ht->fieldLength, bucket->data);			}		} else {		for (n = 0; n < ht->callbackCount; n++) {			CallbackInfo* ci = &ht->callbackInfo[n];			if (ci->dataRecordCallbackFunction) ci->dataRecordCallbackFunction(ci->handle, 0, ht->template, ht->fieldLength, bucket->data);			}		}	}