mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
*** empty log message ***
This commit is contained in:
34
sfile.h
34
sfile.h
@ -2,29 +2,29 @@ typedef struct SFormat SFormat;
|
||||
typedef struct SFile SFile;
|
||||
|
||||
/* - Describing Types - */
|
||||
|
||||
SFormat * sdesc_new_record (const char *name,
|
||||
SFormat *content,
|
||||
...);
|
||||
SFormat * sdesc_new_list (const char *name,
|
||||
SFormat *content);
|
||||
SFormat * sdesc_new_pointer (const char *name);
|
||||
SFormat * sdesc_new_integer (const char *name);
|
||||
SFormat * sdesc_new_string (const char *name);
|
||||
SFormat *sformat_new (gpointer f);
|
||||
gpointer sformat_new_record (const char *name,
|
||||
SFormat *content,
|
||||
...);
|
||||
gpointer sformat_new_list (const char *name,
|
||||
SFormat *content);
|
||||
gpointer sformat_new_pointer (const char *name);
|
||||
gpointer sformat_new_integer (const char *name);
|
||||
gpointer sformat_new_string (const char *name);
|
||||
|
||||
/* - Reading - */
|
||||
SFile * sfile_load (const char *filename,
|
||||
SFileInput * sfile_load (const char *filename,
|
||||
SFormat *format,
|
||||
GError **err);
|
||||
void sfile_begin_get_record (SFile *file);
|
||||
int sfile_begin_get_list (SFile *file);
|
||||
void sfile_get_pointer (SFile *file,
|
||||
void sfile_begin_get_record (SFileInput *file);
|
||||
int sfile_begin_get_list (SFileInput *file);
|
||||
void sfile_get_pointer (SFileInput *file,
|
||||
gpointer *pointer);
|
||||
void sfile_get_integer (SFile *file,
|
||||
void sfile_get_integer (SFileInput *file,
|
||||
int *integer);
|
||||
void sfile_get_string (SFile *file,
|
||||
void sfile_get_string (SFileInput *file,
|
||||
char **string);
|
||||
void sfile_end_get (SFile *file,
|
||||
void sfile_end_get (SFileInput *file,
|
||||
gpointer object);
|
||||
|
||||
#if 0
|
||||
@ -39,7 +39,7 @@ void sfile_loader_free (SFileLoader *loader);
|
||||
#endif
|
||||
|
||||
/* - Writing - */
|
||||
SFile * sfile_new (SFormat *format);
|
||||
SFileOutput * sfile_output_mew (SFormat *format);
|
||||
void sfile_begin_add_record (SFile *file,
|
||||
gpointer id);
|
||||
void sfile_begin_add_list (SFile *file,
|
||||
|
||||
Reference in New Issue
Block a user