OpenDNSSEC-enforcer  1.4.1
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 78 of file string_util2.c.

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 
)

Definition at line 508 of file string_util2.c.

int StrStrtol ( const char *  string,
long *  value 
)

Definition at line 389 of file string_util2.c.

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