~ubuntu-branches/ubuntu/quantal/gerstensaft/quantal

« back to all changes in this revision

Viewing changes to src/beer.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Schulze
  • Date: 2006-12-09 22:03:01 UTC
  • mfrom: (1.1.1 upstream) (2.1.2 edgy)
  • Revision ID: james.westby@ubuntu.com-20061209220301-xuw2lk30xgxvx7hh
Tags: 0.3-2
Adjusted build dependencies

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
    beer.h - Frontend for SAFT for X11
3
 
    Copyright (c) 1999  Martin Schulze <joey@infodrom.north.de>
 
3
    Copyright (c) 1999,2006  Joey Schulze <joey@infodrom.org>
4
4
 
5
 
    This file is part of the `beer' package.
 
5
    This file is part of the Gerstensaft package.
6
6
 
7
7
    This program is free software; you can redistribute it and/or modify
8
8
    it under the terms of the GNU General Public License as published by
22
22
#ifndef __BEER_H__
23
23
#define __BEER_H__
24
24
 
 
25
#include <stdint.h>
25
26
#include <gtk/gtk.h>
26
27
 
27
28
/* Contains the name of the program and version */
28
29
extern char progname[];
29
30
extern char version[];
30
31
 
 
32
#define PROTOCOL_AUTO 1
 
33
#define PROTOCOL_IPV4 2
 
34
#define PROTOCOL_IPV6 3
 
35
 
31
36
struct s_conf {
32
37
  GList *addrs;
 
38
  uint8_t keep;
 
39
  uint8_t closewindow;
 
40
  uint8_t protocol;
 
41
  uint8_t dotfiles;
33
42
};
34
43
 
35
44
extern struct s_conf config;
36
45
 
37
 
void config_clear_history ();
 
46
void clear_history ();
38
47
 
39
48
/* Contains the exit code set somewhere within the program */
40
49
extern int beer_exitcode;