OpenDNSSEC-enforcer  1.4.6
Macros | Functions | Variables
kaspcheck.c File Reference
#include <stdio.h>
#include <getopt.h>
#include <string.h>
#include <syslog.h>
#include "config.h"
#include "kaspcheck.h"
#include "kc_helper.h"
#include "ksm/database.h"
#include <libxml/tree.h>
#include <libxml/parser.h>
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
#include <libxml/relaxng.h>
Include dependency graph for kaspcheck.c:

Go to the source code of this file.

Macros

#define _GNU_SOURCE
 
#define StrFree(ptr)   {if(ptr != NULL) {free(ptr); (ptr) = NULL;}}
 

Functions

void usage ()
 
int main (int argc, char *argv[])
 
int check_conf (char **kasp)
 
int check_kasp ()
 

Variables

const char * progname = NULL
 
char * config = (char *) OPENDNSSEC_CONFIG_FILE
 
char * kasp = NULL
 
int verbose = 0
 
char ** repo_list = NULL
 
int repo_count = 0
 

Macro Definition Documentation

#define _GNU_SOURCE

Definition at line 26 of file kaspcheck.c.

#define StrFree (   ptr)    {if(ptr != NULL) {free(ptr); (ptr) = NULL;}}

Definition at line 53 of file kaspcheck.c.

Referenced by check_conf(), and main().

Function Documentation

int check_conf ( char **  kasp)
int check_kasp ( )

Definition at line 398 of file kaspcheck.c.

References check_policy(), check_rng(), dual_log(), kasp, repo_count, and repo_list.

Referenced by main().

int main ( int  argc,
char *  argv[] 
)
void usage ( )

Definition at line 58 of file kaspcheck.c.

References progname.

Referenced by main().

Variable Documentation

char* config = (char *) OPENDNSSEC_CONFIG_FILE

Definition at line 47 of file kaspcheck.c.

Referenced by check_conf(), and main().

char* kasp = NULL

Definition at line 48 of file kaspcheck.c.

Referenced by check_kasp(), and main().

const char* progname = NULL

Definition at line 45 of file kaspcheck.c.

Referenced by main(), and usage().

int repo_count = 0

Definition at line 51 of file kaspcheck.c.

Referenced by check_conf(), check_kasp(), check_policy(), and main().

char** repo_list = NULL

Definition at line 50 of file kaspcheck.c.

Referenced by check_conf(), check_kasp(), and main().

int verbose = 0

Definition at line 49 of file kaspcheck.c.

Referenced by check_rng(), and main().