mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 15:10:53 +00:00
Write this function.
Thu Mar 3 23:48:13 2005 Soeren Sandmann <sandmann@redhat.com> * profile.c (profile_load): Write this function. * sfile.c: Add support for user defined record and list types. Simplify logic a lot.
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
de4b3c076d
commit
466b093348
6
sfile.h
6
sfile.h
@ -1,15 +1,19 @@
|
||||
typedef struct SFormat SFormat;
|
||||
typedef struct SFileInput SFileInput;
|
||||
typedef struct SFileOutput SFileOutput;
|
||||
typedef guint SType;
|
||||
|
||||
/* - Describing Types - */
|
||||
SFormat *sformat_new (gpointer f);
|
||||
gpointer sformat_new_record (const char *name,
|
||||
SType *type,
|
||||
gpointer content,
|
||||
...);
|
||||
gpointer sformat_new_list (const char *name,
|
||||
SType *type,
|
||||
gpointer content);
|
||||
gpointer sformat_new_pointer (const char *name);
|
||||
gpointer sformat_new_pointer (const char *name,
|
||||
SType *target_type);
|
||||
gpointer sformat_new_integer (const char *name);
|
||||
gpointer sformat_new_string (const char *name);
|
||||
void sformat_free (SFormat *format);
|
||||
|
||||
Reference in New Issue
Block a user