X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fsession.h;h=8b20b0019b8ea7181796fcffab3e547eea99dced;hb=48ae4b998c76c9aaad4dca9090752cb9bd6e9f29;hp=f45cceb0b19bb08fb45a7e9e119f929cedd5752d;hpb=e195fccfab97205acb29f90fd1168488d49f1573;p=pspp diff --git a/src/data/session.h b/src/data/session.h index f45cceb0b1..8b20b0019b 100644 --- a/src/data/session.h +++ b/src/data/session.h @@ -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 */