OpenDNSSEC-enforcer  1.4.5
Data Structures | Functions
string_util2.h File Reference
#include <ksm/system_includes.h>
#include <ksm/memory.h>
Include dependency graph for string_util2.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  STR_KEYWORD_ELEMENT

Functions

void StrAppend (char **str1, const char *str2)
void StrArglistAdd (char ***argv, const char *string)
void StrArglistFree (char ***argv)
char ** StrArglistCreate (const char *string)
int StrKeywordSearch (const char *search, STR_KEYWORD_ELEMENT *keywords, int *value)
int StrStrtol (const char *string, long *value)
int StrStrtoul (const char *string, unsigned long *value)
int StrStrtoi (const char *string, int *value)
int StrStrtoui (const char *string, unsigned int *value)
int StrIsDigits (const char *string)

Function Documentation

void StrAppend ( char **  str1,
const char *  str2 
)
void StrArglistAdd ( char ***  argv,
const char *  string 
)

Definition at line 142 of file string_util2.c.

References MemCalloc(), MemRealloc(), and StrStrdup().

Referenced by StrArglistCreate().

char** StrArglistCreate ( const char *  string)
void StrArglistFree ( char ***  argv)

Definition at line 197 of file string_util2.c.

References MemFree, and StrFree.

int StrIsDigits ( const char *  string)

Definition at line 588 of file string_util2.c.

Referenced by cmd_dsseen(), cmd_genkeys(), cmd_import(), cmd_kskretire(), and DtGeneral().

int StrKeywordSearch ( const char *  search,
STR_KEYWORD_ELEMENT keywords,
int *  value 
)
int StrStrtoi ( const char *  string,
int *  value 
)
int StrStrtol ( const char *  string,
long *  value 
)

Definition at line 387 of file string_util2.c.

Referenced by StrStrtoi().

int StrStrtoui ( const char *  string,
unsigned int *  value 
)

Definition at line 549 of file string_util2.c.

References KSM_INVARG, MsgLog(), and StrStrtoul().

Referenced by DbConnect().

int StrStrtoul ( const char *  string,
unsigned long *  value 
)

Definition at line 447 of file string_util2.c.

References KSM_INVARG, MsgLog(), StrFree, StrStrdup(), StrTrimL(), and StrTrimR().

Referenced by DbUnsignedLong(), and StrStrtoui().