work on docs
[pspp] / src / data / session.h
index f45cceb0b19bb08fb45a7e9e119f929cedd5752d..8b20b0019b8ea7181796fcffab3e547eea99dced 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPP - a program for statistical analysis.
-   Copyright (C) 2010, 2011 Free Software Foundation, Inc.
+   Copyright (C) 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -21,7 +21,7 @@
 
 struct dataset;
 
-struct session *session_create (void);
+struct session *session_create (struct session *parent);
 void session_destroy (struct session *);
 
 struct dataset *session_active_dataset (struct session *);
@@ -44,4 +44,6 @@ void session_for_each_dataset (const struct session *,
 struct dataset *session_get_dataset_by_seqno (const struct session *,
                                               unsigned int seqno);
 
+char *session_generate_dataset_name (struct session *);
+
 #endif /* session.h */