Go to the documentation of this file.
77 #include <jasper/jas_config.h>
112 char *
jas_strtok(
char *str,
const char *delim,
char **saveptr);
140 char ***tokens_buf,
size_t *max_tokens_buf,
size_t *num_tokens_buf);
JAS_EXPORT int jas_stringtokenize(const char *string, const char *delim, char ***tokens_buf, size_t *max_tokens_buf, size_t *num_tokens_buf)
Split a string into tokens based on specified delimiters.
Definition: jas_string.c:135
JAS_EXPORT int jas_eprintf(const char *fmt,...)
Print formatted text for the standard error stream (i.e., stderr).
Definition: jas_debug.c:96
static int jas_get_debug_level(void)
Get the debug level for a particular context.
Definition: jas_init.h:429
JAS_EXPORT void * jas_realloc(void *ptr, size_t size)
Resize a block of allocated memory.
Definition: jas_malloc.c:151
JAS_EXPORT void * jas_malloc(size_t size)
Allocate memory.
Definition: jas_malloc.c:136
JasPer Debugging-Related Functionality.
char * jas_strdup(const char *s)
Create a copy of a null-terminated string.
Definition: jas_string.c:89
JAS_EXPORT void jas_free(void *ptr)
Free memory.
Definition: jas_malloc.c:186
char * jas_strtok(char *s, const char *delim, char **save_ptr)
Extract tokens from a string.
Definition: jas_string.c:101