/Users/huttone/Devel/sedflux-new/sedflux/trunk/ew/utils/eh_project.h File Reference

#include <glib.h>
#include <glib/gstdio.h>
#include <utils/eh_types.h>

Go to the source code of this file.

Functions

 new_handle (Eh_project)
Eh_project eh_create_project (const char *working_dir_name)
char * eh_project_name (Eh_project p)
char * eh_project_dir_name (Eh_project p)
GDir * eh_project_dir (Eh_project p)
GKeyFile * eh_project_info_file (Eh_project p)
char * eh_project_info_file_full_name (Eh_project p)
char * eh_project_get_info_val (Eh_project p, const char *key)
Eh_project eh_project_set_info_val (Eh_project p, const gchar *key, const gchar *value)
Eh_project eh_project_add_info_val (Eh_project p, char *key, const gchar *val)
Eh_project eh_set_project_dir (Eh_project proj, const char *dir_name)
Eh_project eh_fill_project_info (Eh_project proj)
gint eh_write_project_info_file (Eh_project proj)
gboolean eh_read_project_info_file (Eh_project proj)
Eh_project eh_load_project (gchar *info_file)
Eh_project eh_destroy_project (Eh_project proj)
FILE * eh_open_project_file (Eh_project proj, const char *file, const char *mode)
void eh_close_project_file (Eh_project proj, FILE *fp)
void eh_close_project_file_all (Eh_project proj)


Function Documentation

void eh_close_project_file ( Eh_project  proj,
FILE *  fp 
)

Definition at line 393 of file eh_project.c.

void eh_close_project_file_all ( Eh_project  proj  ) 

Definition at line 398 of file eh_project.c.

Eh_project eh_create_project ( const char *  working_dir_name  ) 

Definition at line 15 of file eh_project.c.

References eh_fill_project_info(), eh_free_c_style(), eh_sort_ptr(), and NEW_OBJECT.

Referenced by create_test_project(), eh_load_project(), fill_sedflux_info_file(), and sedflux_print_info_file().

Eh_project eh_destroy_project ( Eh_project  proj  ) 

Definition at line 350 of file eh_project.c.

References eh_free.

Referenced by eh_load_project(), fill_sedflux_info_file(), and sedflux_print_info_file().

Eh_project eh_fill_project_info ( Eh_project  proj  ) 

Definition at line 222 of file eh_project.c.

References construct_project_group_name(), eh_free, eh_require, and S_LINEMAX.

Referenced by eh_create_project().

Eh_project eh_load_project ( gchar *  info_file  ) 

Definition at line 316 of file eh_project.c.

References eh_create_project(), eh_destroy_project(), eh_free, and eh_require.

FILE* eh_open_project_file ( Eh_project  proj,
const char *  file,
const char *  mode 
)

Definition at line 370 of file eh_project.c.

References eh_require.

Eh_project eh_project_add_info_val ( Eh_project  p,
char *  key,
const gchar *  val 
)

Definition at line 104 of file eh_project.c.

References construct_project_group_name(), eh_free, eh_renew, and eh_require.

Referenced by fill_sedflux_info_file().

GDir* eh_project_dir ( Eh_project  p  ) 

Definition at line 50 of file eh_project.c.

char* eh_project_dir_name ( Eh_project  p  ) 

Definition at line 45 of file eh_project.c.

Referenced by eh_project_info_file_full_name(), and fill_sedflux_info_file().

char* eh_project_get_info_val ( Eh_project  p,
const char *  key 
)

GKeyFile* eh_project_info_file ( Eh_project  p  ) 

Definition at line 55 of file eh_project.c.

char* eh_project_info_file_full_name ( Eh_project  p  ) 

Definition at line 60 of file eh_project.c.

References eh_free, eh_project_dir_name(), and eh_project_name().

Referenced by eh_write_project_info_file().

char* eh_project_name ( Eh_project  p  ) 

Definition at line 40 of file eh_project.c.

Referenced by eh_project_info_file_full_name(), and fill_sedflux_info_file().

Eh_project eh_project_set_info_val ( Eh_project  p,
const gchar *  key,
const gchar *  value 
)

Definition at line 86 of file eh_project.c.

References construct_project_group_name(), eh_free, and eh_require.

gboolean eh_read_project_info_file ( Eh_project  proj  ) 

Definition at line 297 of file eh_project.c.

References eh_free.

Referenced by fill_sedflux_info_file().

Eh_project eh_set_project_dir ( Eh_project  proj,
const char *  dir_name 
)

Definition at line 148 of file eh_project.c.

References DONT_ASK, eh_free, and eh_input_boolean().

Referenced by create_test_project(), fill_sedflux_info_file(), and sedflux_print_info_file().

gint eh_write_project_info_file ( Eh_project  proj  ) 

Definition at line 274 of file eh_project.c.

References eh_fopen(), eh_free, eh_project_info_file_full_name(), and eh_require.

Referenced by sedflux_print_info_file().

new_handle ( Eh_project   ) 


Generated on Fri Jan 4 18:04:19 2008 for sedflux by  doxygen 1.5.2