mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Merge stackstash-reorg branch into HEAD
2005-10-30 Soren Sandmann <sandmann@redhat.com> * Merge stackstash-reorg branch into HEAD
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
3783be00a8
commit
dff4affaab
22
sfile.h
22
sfile.h
@ -23,6 +23,24 @@ typedef struct SFileOutput SFileOutput;
|
||||
typedef guint SType;
|
||||
|
||||
|
||||
#if 0
|
||||
Serializer *serializer_new (const char *version);
|
||||
void serializer_set_format (Serializer *serializer,
|
||||
SerializerFormat *format);
|
||||
SerializerFormat *serializer_make_list (Serializer *serializer,
|
||||
const char *name,
|
||||
SerializerFormat *contents);
|
||||
SerializerFormat *serializer_make_record (Serializer *serializer,
|
||||
const char *name,
|
||||
SerializerFormat *contents1,
|
||||
...);
|
||||
SerializerFormat *serializer_make_integer (Serializer *serialiser,
|
||||
const char *name);
|
||||
SerializerFormat *serializer_make_pointer (Serializer *serialiser,
|
||||
const char *name,
|
||||
SerializerFormat *target_type);
|
||||
#endif
|
||||
|
||||
/* A possibly better API/naming scheme
|
||||
*
|
||||
* Serializer *serializer_new (SerializerFormat *format);
|
||||
@ -65,6 +83,10 @@ typedef guint SType;
|
||||
* different versions of the format, and they want to be able to sniff the
|
||||
* format + version
|
||||
*
|
||||
* The version should be part of the format. There should be a
|
||||
* const char *sfile_sniff (const filename);
|
||||
* that will return NULL (+ error) if the file can't be parsed
|
||||
*
|
||||
*/
|
||||
|
||||
/* - Describing Types - */
|
||||
|
||||
Reference in New Issue
Block a user