#include <stdio.h>#include <string.h>#include <assert.h>#include <errno.h>#include <ctype.h>#include "util.h"#include <stdlib.h>Defines | |
| #define | ABNORMAL_RETURN_CODE 1 |
| #define | MAX_STRING_LENGTH 65535 |
| #define | F_OK 0 |
Functions | |
| char * | dequote (char *s) |
| void | quote_no_matter_what (const char *s, char *t) |
| const char * | quote (const char *s) |
| int | verify (char *string, char *valid) |
| char * | strip (char *s) |
| char * | upper (char *s) |
| char * | lower (char *s) |
| int | qfilef (const char *fname) |
| int | free_storage (char *fn) |
| char * | util_strdup (char *string) |
| void * | util_malloc (int size) |
| void * | util_calloc (int num, int size) |
| void * | util_realloc (void *p, int size) |
| void | util_free (void *p) |
| int | util_space_in_use (void) |
| int | util_pointers_in_use (void) |
Variables | |
| char | buf [1024] |
| int | space_in_use = 0 |
| int | pointers_in_use = 0 |
| int | display_allocs = FALSE |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.16