OpenDNSSEC-enforcer  1.3.8
Data Structures | Functions
/build/buildd/opendnssec-1.3.8/enforcer/ksm/include/ksm/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 144 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 199 of file string_util2.c.

References MemFree, and StrFree.

int StrIsDigits ( const char *  string)

Definition at line 590 of file string_util2.c.

Referenced by cmd_dsseen(), 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 389 of file string_util2.c.

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

Referenced by StrStrtoi().

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

Definition at line 551 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 449 of file string_util2.c.

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

Referenced by DbUnsignedLong(), and StrStrtoui().