Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

util.c File Reference

#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

Define Documentation

#define ABNORMAL_RETURN_CODE   1
 

#define F_OK   0
 

#define MAX_STRING_LENGTH   65535
 


Function Documentation

char* dequote char *    s
 

int free_storage char *    fn
 

char* lower char *    s
 

int qfilef const char *    fname
 

const char* quote const char *    s
 

void quote_no_matter_what const char *    s,
char *    t
 

char* strip char *    s
 

char* upper char *    s
 

void* util_calloc int    num,
int    size
 

void util_free void *    p
 

void* util_malloc int    size
 

int util_pointers_in_use void   
 

void* util_realloc void *    p,
int    size
 

int util_space_in_use void   
 

char* util_strdup char *    string
 

int verify char *    string,
char *    valid
 


Variable Documentation

char buf[1024]
 

int display_allocs = FALSE
 

int pointers_in_use = 0 [static]
 

int space_in_use = 0 [static]
 


Generated on Wed Nov 3 12:59:20 2004 for Lemur Toolkit by doxygen1.2.18