|
OpenDNSSEC-enforcer
1.4.9
|
#include "config.h"#include <assert.h>#include <ctype.h>#include <string.h>#include <stdio.h>#include <stdlib.h>#include "compat.h"#include "ksm/string_util.h"#include "ksm/message.h"#include "ksm/ksmdef.h"
Go to the source code of this file.
Functions | |
| void | StrUncomment (char *line) |
| void | StrWhitespace (char *line) |
| char * | StrStrdup (const char *string) |
| void | StrStrncpy (char *dst, const char *src, size_t dstlen) |
| void | StrStrncat (char *dst, const char *src, size_t dstlen) |
| void | StrTrimR (char *text) |
| char * | StrTrimL (char *text) |
| char * | StrTrim (char *text) |
| size_t | StrToLower (char *string) |
| size_t | StrToUpper (char *string) |
| size_t | StrReplaceCharN (char *string, size_t len, char search, char replace) |
| size_t | StrReplaceChar (char *string, char search, char replace) |
| size_t | StrTrimmedLength (const char *string) |
| size_t StrReplaceChar | ( | char * | string, |
| char | search, | ||
| char | replace | ||
| ) |
Definition at line 413 of file string_util.c.
References StrReplaceCharN().
| size_t StrReplaceCharN | ( | char * | string, |
| size_t | len, | ||
| char | search, | ||
| char | replace | ||
| ) |
Definition at line 397 of file string_util.c.
Referenced by StrReplaceChar().
| char* StrStrdup | ( | const char * | string | ) |
Definition at line 124 of file string_util.c.
| void StrStrncat | ( | char * | dst, |
| const char * | src, | ||
| size_t | dstlen | ||
| ) |
Definition at line 191 of file string_util.c.
References StrStrncpy().
| void StrStrncpy | ( | char * | dst, |
| const char * | src, | ||
| size_t | dstlen | ||
| ) |
Definition at line 176 of file string_util.c.
Referenced by DbStringBuffer(), DtGeneral(), DtSecondsInterval(), KsmPolicyUpdateSalt(), and StrStrncat().
| size_t StrToLower | ( | char * | string | ) |
Definition at line 323 of file string_util.c.
Referenced by cmd_import(), cmd_rollpolicy(), cmd_rollzone(), and DtParseDateTime().
| size_t StrToUpper | ( | char * | string | ) |
Definition at line 353 of file string_util.c.
Referenced by cmd_exportkeys(), cmd_import(), get_log_user(), KsmRequestChangeState(), KsmRequestChangeStateN(), ListKeys(), and main().
| char* StrTrim | ( | char * | text | ) |
Definition at line 300 of file string_util.c.
References StrTrimL(), and StrTrimR().
| char* StrTrimL | ( | char * | text | ) |
Definition at line 269 of file string_util.c.
Referenced by StrTrim().
| size_t StrTrimmedLength | ( | const char * | string | ) |
Definition at line 442 of file string_util.c.
| void StrTrimR | ( | char * | text | ) |
Definition at line 228 of file string_util.c.
Referenced by StrTrim().
| void StrUncomment | ( | char * | line | ) |
Definition at line 65 of file string_util.c.
References COMMENT_CHAR.
| void StrWhitespace | ( | char * | line | ) |
Definition at line 94 of file string_util.c.
Referenced by StrArglistCreate().
1.8.11