void(* JUNO_FAILURE_HANDLER_T)(JUNO_STATUS_T tStatus, const char *pcCustomMessage, JUNO_USER_DATA_T *pvUserData)
Definition status.h:26
enum JUNO_STATUS_TAG JUNO_STATUS_T
void JUNO_USER_DATA_T
Definition status.h:25
JUNO_STATUS_T Juno_StringFree(JUNO_STRING_T *ptString)
Frees resources associated with the JUNO string.
Definition juno_string.c:104
JUNO_STATUS_T Juno_StringInit(JUNO_STRING_T *ptString, JUNO_MEMORY_ALLOC_T *ptAlloc, const char *pcStr, size_t zLen, JUNO_FAILURE_HANDLER_T pfcnFailureHandler, JUNO_USER_DATA_T *pvUserData)
Creates a JUNO string from a C string.
Definition juno_string.c:23
const JUNO_STRING_API_T * Juno_StringApi(void)
Definition juno_string.c:126
JUNO_STATUS_T Juno_StringLength(JUNO_STRING_T *ptString, size_t *pzRetSize)
Retrieves the size of the JUNO string.
Definition juno_string.c:59
JUNO_STATUS_T Juno_StringConcat(JUNO_STRING_T *ptString1, JUNO_STRING_T *ptString2)
Concatenates two JUNO strings.
Definition juno_string.c:84
JUNO_STATUS_T Juno_StringAppend(JUNO_STRING_T *ptString, const char *pcCstr, size_t zLen)
Definition juno_string.c:70
JUNO_STATUS_T Juno_StringSetAlloc(JUNO_STRING_T *ptString, JUNO_MEMORY_ALLOC_T *ptAlloc)
Sets a new memory allocator for a JUNO string.
Definition juno_string.c:48
Definition string_api.h:14
Definition string_types.h:17
Union for a generic memory allocation. Accommodates various allocation types, currently including blo...
Definition memory_types.h:89