This header field defines the str data structure that is used across SER sources to store counted-length strings.
More...
Go to the source code of this file.
Data Structures
- struct _str
- Data structure used across SER sources to store counted-length strings. More...
Defines
- #define STR_EQ(x, y)
- Compares two str strings.
- #define STR_FMT(_pstr_)
- Formats str string for use in printf-like functions.
- #define STR_NULL {0, 0}
- Initializes str string with NULL pointer and zero length.
- #define STR_STATIC_INIT(v) {(v), sizeof(v) - 1}
- Initializes static str string with string literal.
Typedefs
- typedef struct _str str
- Data structure used across SER sources to store counted-length strings.
Detailed Description
The file also defines several convenience macros.
Definition in file str.h.