OpenDNSSEC-signer 1.2.1
Functions

/build/buildd-opendnssec_1.2.1.dfsg-1-ia64-j6OroR/opendnssec-1.2.1.dfsg/signer/src/adapter/adapter.c File Reference

#include "adapter/adapter.h"
#include "signer/zone.h"
#include "util/file.h"
#include "util/log.h"
#include "util/se_malloc.h"
#include <stdio.h>
Include dependency graph for adapter.c:

Go to the source code of this file.

Functions

adapter_typeadapter_create (const char *filename, adapter_mode type, int inbound)
int adapter_compare (adapter_type *a1, adapter_type *a2)
void adapter_cleanup (adapter_type *adapter)

Function Documentation

void adapter_cleanup ( adapter_type adapter)

Clean up adapter.

Definition at line 87 of file adapter.c.

References adapter_struct::filename, se_free(), and se_log_warning().

Referenced by zone_cleanup(), and zone_update_zonelist().

int adapter_compare ( adapter_type a1,
adapter_type a2 
)

Compare adapters.

Definition at line 65 of file adapter.c.

References adapter_struct::filename, adapter_struct::inbound, se_strcmp(), and adapter_struct::type.

Referenced by zone_update_zonelist().

adapter_type* adapter_create ( const char *  filename,
adapter_mode  type,
int  inbound 
)

Inbound and Outbound Adapters. Create a new adapter.

Definition at line 48 of file adapter.c.

References adapter_struct::filename, adapter_struct::inbound, se_log_assert, se_malloc(), se_strdup(), and adapter_struct::type.

Referenced by zone_update_zonelist().