7
/* Like malloc(), but execute FATAL() if it can't allocate
8
the memmory. It never returns NULL. */
9
void* spd_malloc(size_t bytes);
11
/* Like realloc(), but execute FATAL() if it can't allocate
12
the memmory. It never returns NULL. */
13
void* spd_realloc(void* ptr, size_t bytes);
15
/* Like free(), but don't try to free NULL data. After freeing
16
the data, fill the pointer with NULL. */
17
void spd_free(void *data);
19
/* Like strdup(), but copies also the empty "NULL" strings. */
20
char* spd_strdup(char* string);
22
TSpeechDQueue* speechd_queue_alloc();
25
TSpeechDMessage* spd_message_copy(TSpeechDMessage *old);
28
void mem_free_message(TSpeechDMessage *msg);
30
/* Free a settings element */
31
void mem_free_fdset(TFDSetElement *set);