~ubuntu-branches/debian/sid/apt-dater/sid

« back to all changes in this revision

Viewing changes to src/screen.h

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2015-07-07 17:33:08 UTC
  • mfrom: (1.2.5)
  • Revision ID: package-import@ubuntu.com-20150707173308-7rkjhxnlq7gsykif
Tags: 1.0.2-1
* New upstream release.
  - Set the default of the opt-cmd-flags host option to "-t" since this is
    essential.
    Closes: #776392
  - Add new build dependency vim-common.
* Replace screen dependency with tmux.
* Create apt-dater group for session sharing.
* Add missing directories.
* Make the build reproducible.
  Closes: #789648
* Drop automake and autoconf build dependencies.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 *   Thomas Liske <liske@ibh.de>
5
5
 *
6
6
 * Copyright Holder:
7
 
 *   2008-2014 (C) IBH IT-Service GmbH [https://www.ibh.de/apt-dater/]
 
7
 *   2008-2015 (C) IBH IT-Service GmbH [https://www.ibh.de/apt-dater/]
8
8
 *
9
9
 * License:
10
10
 *   This program is free software; you can redistribute it and/or modify
25
25
#ifndef _SCREEN_H
26
26
#define _SCREEN_H
27
27
 
 
28
#include "config.h"
 
29
 
 
30
#ifndef FEAT_TMUX
 
31
 
28
32
#include "apt-dater.h"
29
33
#include "history.h"
30
34
 
38
42
gboolean screen_attach(HostNode *n, const SessNode *s, const gboolean shared);
39
43
gchar *screen_get_dump(const SessNode *s);
40
44
 
41
 
static inline gboolean
42
 
screen_is_attached(const SessNode *s) {
43
 
  if (s->st.st_mode & S_IXUSR)
44
 
    return TRUE;
45
 
 
46
 
  return FALSE;
47
 
}
 
45
#endif /* !FEAT_TMUX */
48
46
 
49
47
#endif /* _SCREEN_H */