summaryrefslogtreecommitdiff
path: root/saveutil.h
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:49:23 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:49:23 +0000
commitac8c3cf394fb9d0eb57332ea7b2d12fb3c4a396d (patch)
tree02cb7504dab187ebcae1e7fbb0b002225dda2a73 /saveutil.h
parentc8ddd5d82a72167de6e0a544b55f9b03ab93053e (diff)
Diffstat (limited to 'saveutil.h')
-rw-r--r--saveutil.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/saveutil.h b/saveutil.h
index 4d8cc64..86a040a 100644
--- a/saveutil.h
+++ b/saveutil.h
@@ -23,7 +23,17 @@ Except as contained in this notice, the name of The Open Group shall not be
used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
******************************************************************************/
+/* $XFree86: xc/programs/xsm/saveutil.h,v 1.7 2001/12/14 20:02:27 dawes Exp $ */
-extern int ReadSave ();
-extern void WriteSave ();
-extern Status DeleteSession ();
+#ifndef _SAVEUTIL_H_
+#define _SAVEUTIL_H_
+
+#include <stdio.h>
+
+extern void set_session_save_file_name(char *session_name);
+extern int ReadSave(char *session_name, char **sm_id);
+extern void WriteSave(char *sm_id);
+extern Status DeleteSession(char *session_name);
+extern Bool getnextline(char **pbuf, int *plen, FILE *f);
+
+#endif