/home/archives/aegis/branch.4/branch.24/delta12472.002/libaegis/gstate.h File Reference
#include <common/str.h>
#include <libaegis/output.h>
#include <libaegis/meta_lex.h>
#include <libaegis/meta_parse.h>
#include <libaegis/meta_type.h>
Go to the source code of this file.
|
Data Structures |
struct | gstate_where_ty |
struct | gstate_where_list_ty |
struct | gstate_ty |
Defines |
#define | gstate_where_project_name_mask ((unsigned long)0) |
#define | gstate_where_directory_mask ((unsigned long)0) |
#define | gstate_where_alias_for_mask ((unsigned long)0) |
#define | gstate_where_trace(x) |
#define | gstate_where_list_trace(x) |
#define | gstate_where_mask ((unsigned long)0) |
#define | gstate_trace(x) |
Functions |
void | gstate_where_write (const output::pointer &fp, const char *name, gstate_where_ty *value) |
void | gstate_where_write_xml (const output::pointer &fp, const char *name, gstate_where_ty *value) |
gstate_where_ty * | gstate_where_copy (gstate_where_ty *) |
gstate_where_ty * | gstate_where_clone (gstate_where_ty *) |
gstate_where_list_ty * | gstate_where_list_copy (gstate_where_list_ty *) |
gstate_where_list_ty * | gstate_where_list_clone (gstate_where_list_ty *) |
void | gstate_where_list_write (const output::pointer &fp, const char *name, gstate_where_list_ty *value) |
void | gstate_where_list_write_xml (const output::pointer &fp, const char *name, gstate_where_list_ty *value) |
void | gstate_write (const output::pointer &fp, gstate_ty *value) |
void | gstate_write_xml (const output::pointer &fp, gstate_ty *value) |
gstate_ty * | gstate_copy (gstate_ty *) |
gstate_ty * | gstate_clone (gstate_ty *) |
void | gstate_write_file (string_ty *filename, gstate_ty *value, int comp) |
void | gstate_write_file (const nstring &filnam, gstate_ty *value, bool comp) |
gstate_ty * | gstate_read_file (string_ty *filename) |
gstate_ty * | gstate_read_file (const nstring &filename) |
void | gstate__rpt_init (void) |
Variables |
meta_type | gstate_where_type |
meta_type | gstate_where_list_type |
meta_type | gstate_type |
Define Documentation
#define gstate_trace |
( |
x |
|
) |
|
#define gstate_where_alias_for_mask ((unsigned long)0) |
#define gstate_where_directory_mask ((unsigned long)0) |
#define gstate_where_list_trace |
( |
x |
|
) |
|
#define gstate_where_mask ((unsigned long)0) |
#define gstate_where_project_name_mask ((unsigned long)0) |
#define gstate_where_trace |
( |
x |
|
) |
|
Function Documentation
void gstate__rpt_init |
( |
void |
|
) |
|
The gstate_read_file function is used to read gstate meta data from the named file.
- Parameters:
-
| filename | The name of the file to be read. |
- Returns:
- a pointer to a dynamically allocated value read from the file.
- Note:
- If any errors are encountered, this function will not return. All errors (including syntax errors) will print a fatal error message, and exit with an exit status of 1.
The gstate_read_file function is used to read gstate meta data from the named file.
- Parameters:
-
| filename | The name of the file to be read. |
- Returns:
- a pointer to a dynamically allocated value read from the file.
- Note:
- If any errors are encountered, this function will not return. All errors (including syntax errors) will print a fatal error message, and exit with an exit status of 1.
The gstate_write_file function is used to write gstate meta data to the named file.
- Parameters:
-
| filnam | The name of the file to be written. |
| value | The value of the meta-data to be written. |
| comp | true if data should be compressed. |
- Note:
- If any errors are encountered, this function will not return. All errors will print a fatal error message, and exit with an exit status of 1.
The gstate_write_file function is used to write gstate meta data to the named file.
- Parameters:
-
| filename | The name of the file to be written. |
| value | The value of the meta-data to be written. |
| comp | true (non-zero) if data should be compressed. |
- Note:
- If any errors are encountered, this function will not return. All errors will print a fatal error message, and exit with an exit status of 1.
Variable Documentation