src/context.c
static void
dispatch_updated(struct getdns_context *context, uint16_t item)
{
	if (context->update_callback2 != NULL_update_callback)
		context->update_callback2(
		    context, item, context->update_userarg);

    if (context->update_callback) {
        context->update_callback(context, item);
    }
}
/**
 * Helper to dispatch the updated callback
 */
Helper to dispatch the updated callback
Helper to dispatch the updated callback
static void
dispatch_updated(struct getdns_context *context, uint16_t item)
{
	if (context->update_callback2 != NULL_update_callback)
		context->update_callback2(
		    context, item, context->update_userarg);
    if (context->update_callback) {
        context->update_callback(context, item);
    }
}
static void dispatch_updated ( struct getdns_context * context , uint16_t item ) { if ( context -> update_callback2 != NULL_update_callback ) context -> update_callback2 ( context , item , context -> update_userarg ) ; if ( context -> update_callback ) { context -> update_callback ( context , item ) ; } }
Helper to dispatch the updated callback
Helper to dispatch the updated callback