14#include "ws_symbol_export.h"
36const unsigned char *
find_line_end(
const unsigned char *data,
const unsigned char *dataend,
37 const unsigned char **eol);
47int get_token_len(
const unsigned char *linep,
const unsigned char *lineend,
48 const unsigned char **next_token);
62 bool force_separators);
89bool hex_str_to_bytes_encoding(
const char *hex_str, GByteArray *bytes,
const char **endptr,
90 const unsigned encoding,
const bool fail_if_partial);
101bool uri_to_bytes(
const char *uri_str, GByteArray *bytes,
size_t len);
191void IA5_7BIT_decode(
unsigned char * dest,
const unsigned char* src,
int len);
193#define FORMAT_LABEL_REPLACE_SPACE (0x1 << 0)
196size_t ws_label_strcpy(
char *label_str,
size_t bufsize,
size_t pos,
const uint8_t *str,
int flags);
199size_t ws_label_strcat(
char *label_str,
size_t bufsize,
const uint8_t *str,
int flags);
205WS_DLL_LOCAL
unsigned char
206module_check_valid_name(
const char *name,
bool lower_only);
WS_DLL_PUBLIC GByteArray * byte_array_dup(const GByteArray *ba)
Definition strutil.c:459
WS_DLL_PUBLIC char * xml_escape(const char *unescaped)
Definition strutil.c:566
WS_DLL_PUBLIC uint8_t * convert_string_to_hex(const char *string, size_t *nbytes)
Definition strutil.c:620
WS_DLL_PUBLIC bool oid_str_to_bytes(const char *oid_str, GByteArray *bytes)
Definition strutil.c:473
WS_DLL_PUBLIC bool hex_str_to_bytes(const char *hex_str, GByteArray *bytes, bool force_separators)
Definition strutil.c:140
WS_DLL_PUBLIC char * convert_string_case(const char *string, bool case_insensitive)
Definition strutil.c:696
WS_DLL_PUBLIC bool uri_to_bytes(const char *uri_str, GByteArray *bytes, size_t len)
Definition strutil.c:402
WS_DLL_PUBLIC bool byte_array_equal(GByteArray *ba1, GByteArray *ba2)
Definition strutil.c:548
WS_DLL_PUBLIC bool rel_oid_str_to_bytes(const char *oid_str, GByteArray *bytes, bool is_absolute)
Definition strutil.c:478
WS_DLL_PUBLIC int get_token_len(const unsigned char *linep, const unsigned char *lineend, const unsigned char **next_token)
Definition strutil.c:100
WS_DLL_PUBLIC bool uri_str_to_bytes(const char *uri_str, GByteArray *bytes)
Definition strutil.c:446
const unsigned char * find_line_end(const unsigned char *data, const unsigned char *dataend, const unsigned char **eol)
Definition strutil.c:36