OpenDNSSEC-enforcer  1.4.6
Functions
string_util2.c File Reference
#include <ctype.h>
#include <errno.h>
#include <string.h>
#include <stdio.h>
#include <limits.h>
#include "ksm/ksmdef.h"
#include "ksm/memory.h"
#include "ksm/message.h"
#include "ksm/string_util.h"
#include "ksm/string_util2.h"
Include dependency graph for string_util2.c:

Go to the source code of this file.

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 
)

Definition at line 76 of file string_util2.c.

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 
)

Definition at line 506 of file string_util2.c.

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().