Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages  

Miscellaneous files


file  utils.c
 Utility routines.

file  utils.h
 Utility routines.


void add_space (FILE *f, const int exists, const int todo)
 Writes spaces to the file.

char * get_short_filename (char *fn)
 Get the shortened filename (without the path).

Function Documentation

void add_space FILE *    f,
const int    exists,
const int    todo

Writes spaces to the file.

f  The file to write to.
exists  How many characters are used in the field.
todo  The required field width.

Definition at line 31 of file utils.c.

char* get_short_filename char *    fn

Get the shortened filename (without the path).

fn  The full filename to parse.
The short filename. This is a pointer into the 'fn' string, so don't free 'fn' till you've gfinished with this result.

Definition at line 82 of file utils.c.

Referenced by gui_load_query_from_file(), and query_save_to_file().

Generated on Sun May 9 19:19:27 2004 for GtkSQL by doxygen1.2.18