prefs.h File Reference

Go to the source code of this file.

Classes

struct  cfg

Enumerations

enum  { GP_HELP }

Functions

cfgcfg_new (void)
void discard_prefs (void)
const gchar * prefs_get_filename (void)
void prefs_set_filename (const gchar *tpl)
gboolean prefs_get_have_footer (void)
void prefs_set_have_footer (gboolean tpl)
gboolean read_prefs (int argc, char *argv[])


Detailed Description


Enumeration Type Documentation

anonymous enum
 

enum for reading of options

Enumerator:
GP_HELP 


Function Documentation

struct cfg* cfg_new void   ) 
 

Set the preferences and initialise the cfg-struct

Returns:
struct cfg the cfg-struct after initialise

void discard_prefs void   ) 
 

const gchar* prefs_get_filename void   ) 
 

set and get the current filename

gboolean prefs_get_have_footer void   ) 
 

set and get the current have_footer flag

void prefs_set_filename const gchar *  tpl  ) 
 

void prefs_set_have_footer gboolean  tpl  ) 
 

gboolean read_prefs int  argc,
char *  argv[]
 

Read and parse the command options xxPreferences and initialise the cfg-struct

Returns:
gboolean reserved for future use


Generated on Wed Nov 30 21:04:23 2005 for RFC Reader by  doxygen 1.4.5