OpenDNSSEC-enforcer  2.1.4
Data Structures | Typedefs | Functions | Variables
ods-migrate.c File Reference
#include "config.h"
#include <getopt.h>
#include <dlfcn.h>
#include <libxml/parser.h>
#include "log.h"
#include "libhsm.h"
#include "daemon/cfg.h"
#include "libhsmdns.h"

Go to the source code of this file.

Data Structures

struct  dblayer_struct
 

Typedefs

typedef void(* functioncast_t) (void)
 

Functions

hsm_repository_t * parse_conf_repositories (const char *cfgfile)
 
functioncast_t functioncast (void *generic)
 
int main (int argc, char *argv[])
 

Variables

int verbosity
 
char * argv0
 
struct dblayer_struct dblayer
 
const char * listQueryStr = "select keyData.id,keyData.algorithm,keyData.role,keyData.keytag,hsmKey.locator from keyData join hsmKey on keyData.hsmKeyId = hsmKey.id"
 
const char * updateQueryStr = "update keyData set keytag = ? where id = ?"
 

Typedef Documentation

◆ functioncast_t

typedef void(* functioncast_t) (void)

Definition at line 55 of file ods-migrate.c.

Function Documentation

◆ functioncast()

functioncast_t functioncast ( void *  generic)

Definition at line 59 of file ods-migrate.c.

◆ main()

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

Definition at line 322 of file ods-migrate.c.

References argv0.

◆ parse_conf_repositories()

hsm_repository_t* parse_conf_repositories ( const char *  cfgfile)

Parse the repositories.

Definition at line 205 of file confparser.c.

Variable Documentation

◆ argv0

char* argv0

Definition at line 47 of file ods-migrate.c.

Referenced by main().

◆ dblayer

struct dblayer_struct dblayer

◆ listQueryStr

const char* listQueryStr = "select keyData.id,keyData.algorithm,keyData.role,keyData.keytag,hsmKey.locator from keyData join hsmKey on keyData.hsmKeyId = hsmKey.id"

Definition at line 301 of file ods-migrate.c.

◆ updateQueryStr

const char* updateQueryStr = "update keyData set keytag = ? where id = ?"

Definition at line 302 of file ods-migrate.c.

◆ verbosity

int verbosity

Definition at line 46 of file ods-migrate.c.

Referenced by parse_conf_verbosity().