1
/* apt-dater - terminal-based remote package update manager
4
* Thomas Liske <liske@ibh.de>
7
* 2008-2015 (C) IBH IT-Service GmbH [https://www.ibh.de/apt-dater/]
10
* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* (at your option) any later version.
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU General Public License for more details.
20
* You should have received a copy of the GNU General Public License
21
* along with this package; if not, write to the Free Software
22
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
28
#include "apt-dater.h"
31
#define TMUX_SDFORMT "%s/S-%s"
32
#define TMUX_SOCKPRE "apt-dater_"
33
#define TMUX_SOCKPATH "/tmp"
35
void tmux_initialize(HostNode *n);
36
gboolean tmux_get_sessions(HostNode *n);
38
gchar **tmux_new(HostNode *n, const gboolean detached);
39
gboolean tmux_attach(HostNode *n, const SessNode *s, const gboolean shared);
40
gchar *tmux_get_dump(const SessNode *s);