1 #ifndef SESSION_FILE_H
2 #define SESSION_FILE_H
3 /*
4     roxterm - VTE/GTK terminal emulator with tabs
5     Copyright (C) 2004-2015 Tony Houghton <h@realh.co.uk>
6 
7     This program is free software; you can redistribute it and/or modify
8     it under the terms of the GNU General Public License as published by
9     the Free Software Foundation; either version 2 of the License, or
10     (at your option) any later version.
11 
12     This program is distributed in the hope that it will be useful,
13     but WITHOUT ANY WARRANTY; without even the implied warranty of
14     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15     GNU General Public License for more details.
16 
17     You should have received a copy of the GNU General Public License
18     along with this program; if not, write to the Free Software
19     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20 */
21 
22 /* Session file management common to named sessions and SM */
23 
24 #ifndef DEFNS_H
25 #include "defns.h"
26 #endif
27 
28 char *session_get_filename(const char *leafname, const char *dir,
29         gboolean create_dir);
30 
31 gboolean save_session_to_file(const char *filename, const char *client_id);
32 
33 gboolean load_session_from_file(const char *filename, const char *client_id);
34 
35 /*
36 void
37 roxterm_sm_log(const char *format, ...);
38 
39 #define SLOG roxterm_sm_log
40 */
41 
42 #define SLOG(f, ...)
43 
44 #endif /* SESSION_FILE_H */
45 
46 /* vi:set sw=4 ts=4 et cindent cino= */
47