summaryrefslogtreecommitdiff
path: root/sfile.h
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@src.gnome.org>2004-11-21 01:54:22 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2004-11-21 01:54:22 +0000
commit0e1b62128fa013c4103d912578139a4f5d8e2459 (patch)
tree8c2cf45b40e117b2a54a7809fe85291bcf43aa74 /sfile.h
parent9b76cbf1b4608544f85f15bbaf534a2d7d294594 (diff)
*** empty log message ***
Diffstat (limited to 'sfile.h')
-rw-r--r--sfile.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/sfile.h b/sfile.h
index 53eb371..64714a2 100644
--- a/sfile.h
+++ b/sfile.h
@@ -44,17 +44,29 @@ void sfile_loader_free (SFileLoader *loader);
#endif
/* - Writing - */
+
+/* FIXME: see if we can't get rid of the names. It should be
+ * possible to pass NULL to state_transition_check() and
+ * have it interprete that as "whatever"
+ */
+
SFileOutput * sfile_output_mew (SFormat *format);
void sfile_begin_add_record (SFileOutput *file,
+ const char *name,
gpointer id);
void sfile_begin_add_list (SFileOutput *file,
+ const char *name,
gpointer id);
-void sfile_end_add (SFileOutput *file);
+void sfile_end_add (SFileOutput *file,
+ const char *name);
void sfile_add_string (SFileOutput *file,
+ const char *name,
const char *string);
void sfile_add_integer (SFileOutput *file,
+ const char *name,
int integer);
void sfile_add_pointer (SFileOutput *file,
+ const char *name,
gpointer pointer);
gboolean sfile_save (SFileOutput *sfile,
const char *filename,