ldns-signzone.c File Reference

Go to the source code of this file.

Macros

#define MAX_FILENAME_LEN   250
 
#define __LIST(x)   fprintf ( fp, " %3d: %-15s", LDNS_SIGN_ ## x, # x )
 
#define __MATCH(x)
 

Functions

int str2zonemd_signflag (const char *str, const char **reason)
 
int main (int argc, char *argv[])
 

Variables

char * prog
 
int verbosity = 1
 

Macro Definition Documentation

◆ MAX_FILENAME_LEN

#define MAX_FILENAME_LEN   250

Definition at line 30 of file ldns-signzone.c.

◆ __LIST

#define __LIST (   x)    fprintf ( fp, " %3d: %-15s", LDNS_SIGN_ ## x, # x )

◆ __MATCH

#define __MATCH (   x)
Value:
if ( !memcmp ( # x, p, sizeof ( # x ) - 1 ) \
&& p [ sizeof ( # x ) - 1 ] == ',' ) { \
return LDNS_SIGN_ ## x; \
}

Function Documentation

◆ str2zonemd_signflag()

int str2zonemd_signflag ( const char *  str,
const char **  reason 
)

◆ main()

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

Definition at line 603 of file ldns-signzone.c.

References LDNS_DEFAULT_TTL, and LDNS_RR_CLASS_IN.

Variable Documentation

◆ prog

char* prog

Definition at line 32 of file ldns-signzone.c.

◆ verbosity

int verbosity = 1

Definition at line 33 of file ldns-signzone.c.