~ubuntu-branches/ubuntu/raring/geany/raring-proposed

« back to all changes in this revision

Viewing changes to src/socket.h

  • Committer: Bazaar Package Importer
  • Author(s): Damián Viano
  • Date: 2008-05-02 11:37:45 UTC
  • mfrom: (1.2.1 upstream) (9 hardy)
  • mto: (3.2.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: james.westby@ubuntu.com-20080502113745-xzp4g6dmovrpoj17
Tags: 0.14-1
New upstream release (Closes: #478126)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 *      socket.h - this file is part of Geany, a fast and lightweight IDE
3
3
 *
4
 
 *      Copyright 2006 Enrico Troeger <enrico.troeger@uvena.de>
 
4
 *      Copyright 2006-2008 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
 
5
 *      Copyright 2006-2008 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5
6
 *
6
7
 *      This program is free software; you can redistribute it and/or modify
7
8
 *      it under the terms of the GNU General Public License as published by
17
18
 *      along with this program; if not, write to the Free Software
18
19
 *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19
20
 *
20
 
 * $Id$
 
21
 * $Id: socket.h 2267 2008-02-20 11:24:23Z eht16 $
21
22
 */
22
23
 
23
24
 
25
26
#define GEANY_SOCKET_H 1
26
27
 
27
28
 
28
 
struct
 
29
struct socket_info_struct
29
30
{
30
31
        gboolean         ignore_socket;
31
32
        gchar           *file_name;
32
33
        GIOChannel      *read_ioc;
33
34
        gint             lock_socket;
34
35
        gint             lock_socket_tag;
35
 
} socket_info;
 
36
};
 
37
 
 
38
extern struct socket_info_struct socket_info;
36
39
 
37
40
gint socket_init(gint argc, gchar **argv);
38
41
 
39
42
gboolean socket_lock_input_cb(GIOChannel *source, GIOCondition condition, gpointer data);
40
43
 
41
 
gint socket_finalize();
 
44
gint socket_finalize(void);
42
45
 
43
46
 
44
47
#endif