|
OpenDNSSEC-enforcer
1.3.9
|


Go to the source code of this file.
Macros | |
| #define | COMMENT_CHAR ("#") |
| #define | StrFree(x) MemFree(x) |
| #define | STR_LENGTH(x) (sizeof(x) - 1) |
Functions | |
| void | StrUncomment (char *line) |
| void | StrWhitespace (char *line) |
| char * | StrStrdup (const char *string) |
| void | StrStrncpy (char *dest, const char *src, size_t destlen) |
| void | StrStrncat (char *dest, const char *src, size_t destlen) |
| void | StrTrimR (char *text) |
| char * | StrTrimL (char *text) |
| char * | StrTrim (char *text) |
| size_t | StrToLower (char *text) |
| size_t | StrToUpper (char *text) |
| 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) |
| #define COMMENT_CHAR ("#") |
Definition at line 46 of file string_util.h.
Referenced by StrUncomment().
| #define STR_LENGTH | ( | x | ) | (sizeof(x) - 1) |
Definition at line 85 of file string_util.h.
| #define StrFree | ( | x | ) | MemFree(x) |
Definition at line 68 of file string_util.h.
Referenced by allocateKeysToZone(), ChangeKeyState(), cmd_addzone(), cmd_backup(), cmd_control(), cmd_dbbackup(), cmd_delzone(), cmd_dsseen(), cmd_exportkeys(), cmd_genkeys(), cmd_import(), cmd_kskretire(), cmd_listzone(), cmd_purgepolicy(), cmd_setup(), cmd_update(), commGenSignConf(), createPidDir(), db_connect(), DisFree(), do_communication(), do_keygen(), do_purge(), DqsFree(), DqsSpecifyInit(), DtParseDateTime(), DusFree(), fix_file_perms(), get_conf_key_info(), get_db_details(), get_log_user(), getPermsForDrop(), keyRoll(), KsmDnssecKeyCreate(), KsmImportKeyPair(), KsmKillKey(), KsmPolicyUpdateSalt(), KsmRequestChangeState(), KsmRequestChangeStateN(), KsmRequestKeysByType(), KsmRequestSetActiveExpectedRetire(), main(), make_directory(), NewDSSet(), read_filenames(), read_zonelist_filename(), ReadConfig(), rename_signconf(), RetireOldKey(), server_main(), SetParamOnPolicy(), StrArglistCreate(), StrArglistFree(), StrStrtol(), StrStrtoul(), update_policies(), update_repositories(), and update_zones().
| size_t StrReplaceChar | ( | char * | string, |
| char | search, | ||
| char | replace | ||
| ) |
Definition at line 415 of file string_util.c.
References StrReplaceCharN().
| size_t StrReplaceCharN | ( | char * | string, |
| size_t | len, | ||
| char | search, | ||
| char | replace | ||
| ) |
Definition at line 399 of file string_util.c.
Referenced by StrReplaceChar().
| char* StrStrdup | ( | const char * | string | ) |
Definition at line 126 of file string_util.c.
References KSM_STMTALLOC, MemCalloc(), and MsgLog().
Referenced by cmd_addzone(), cmd_exportkeys(), cmd_import(), createPidDir(), DdsInit(), DisInit(), DisSpecifyInit(), DqsCountInit(), DqsInit(), DqsSpecifyInit(), DtGeneralString(), DtParseDateTime(), DtParseDateTimeString(), DusInit(), get_log_user(), getPermsForDrop(), KsmImportZone(), KsmRequestChangeState(), KsmRequestChangeStateN(), main(), make_directory(), ReadConfig(), StrAppend(), StrArglistAdd(), StrArglistCreate(), StrStrtol(), and StrStrtoul().
| void StrStrncat | ( | char * | dest, |
| const char * | src, | ||
| size_t | destlen | ||
| ) |
Definition at line 193 of file string_util.c.
References StrStrncpy().
| void StrStrncpy | ( | char * | dest, |
| const char * | src, | ||
| size_t | destlen | ||
| ) |
Definition at line 178 of file string_util.c.
Referenced by DbStringBuffer(), DtGeneral(), DtSecondsInterval(), KsmPolicyUpdateSalt(), and StrStrncat().
| size_t StrToLower | ( | char * | text | ) |
Definition at line 325 of file string_util.c.
Referenced by cmd_import(), cmd_rollpolicy(), cmd_rollzone(), and DtParseDateTime().
| size_t StrToUpper | ( | char * | text | ) |
Definition at line 355 of file string_util.c.
Referenced by cmd_exportkeys(), cmd_import(), get_log_user(), KsmRequestChangeState(), KsmRequestChangeStateN(), and main().
| char* StrTrim | ( | char * | text | ) |
Definition at line 302 of file string_util.c.
References StrTrimL(), and StrTrimR().
| char* StrTrimL | ( | char * | text | ) |
Definition at line 271 of file string_util.c.
Referenced by DtParseDateTime(), StrArglistCreate(), StrStrtol(), StrStrtoul(), and StrTrim().
| size_t StrTrimmedLength | ( | const char * | string | ) |
Definition at line 444 of file string_util.c.
| void StrTrimR | ( | char * | text | ) |
Definition at line 230 of file string_util.c.
Referenced by DtParseDateTime(), KsmParameterShow(), StrArglistCreate(), StrStrtol(), StrStrtoul(), and StrTrim().
| void StrUncomment | ( | char * | line | ) |
Definition at line 67 of file string_util.c.
References COMMENT_CHAR.
| void StrWhitespace | ( | char * | line | ) |
Definition at line 96 of file string_util.c.
Referenced by StrArglistCreate().
1.8.1.2