52 #define STR_NULL (static_cast<str_t>(0))
81 void str_cpy(
register char* buf,
int len,
register str_t str);
95 void str_cat(
register char* buf,
int len,
register str_t str);
142 void str_error(
int err_no,
char *buf,
int buf_size);
152 #define STR_ERRMSG_LEN 80
162 int str_uint(
char *buf,
int buf_len,
unsigned int n);
172 int str_int(
char *buf,
int buf_len,
int n);
182 #define STR_INT_LEN 11
204 int str_ptr(
char *buf,
int buf_len,
const void *ptr);
214 #define STR_PTR_LEN 17
str_t str_indent(int n)
Definition: str.cpp:150
bool str_eq(register str_t str1, register str_t str2)
Definition: str.cpp:112
int str_int(char *buf, int buf_len, int n)
Definition: str.cpp:250
void str_error(int err_no, char *buf, int buf_size)
Definition: str.cpp:172
void str_cpy(register char *buf, int len, register str_t str)
Definition: str.cpp:49
int str_len(register str_t str)
Definition: str.cpp:34
void str_cat(register char *buf, int len, register str_t str)
Definition: str.cpp:88
str_t str_fill(int n, int field_width)
Definition: str.cpp:286
const char * str_t
Definition: str.h:41
bool str_contains(register char c, register str_t str)
Definition: str.cpp:132
int str_ptr(char *buf, int buf_len, const void *ptr)
Definition: str.cpp:319
int str_uint(char *buf, int buf_len, unsigned int n)
Definition: str.cpp:197