Mercurial > geeqie
annotate src/remote.h @ 1704:ffe1f5787a89
Romanian translation was completed. Thanks to Sabin Iacob.
author | zas_ |
---|---|
date | Sat, 25 Jul 2009 08:00:07 +0000 |
parents | a96a20c7feb1 |
children | 956aab097ea7 |
rev | line source |
---|---|
9 | 1 /* |
196 | 2 * Geeqie |
9 | 3 * (C) 2004 John Ellis |
1284 | 4 * Copyright (C) 2008 - 2009 The Geeqie Team |
9 | 5 * |
6 * Author: John Ellis | |
7 * | |
8 * This software is released under the GNU General Public License (GNU GPL). | |
9 * Please read the included file COPYING for more information. | |
10 * This software comes with no warranty of any kind, use at your own risk! | |
11 */ | |
12 | |
13 | |
14 #ifndef REMOTE_H | |
15 #define REMOTE_H | |
16 | |
17 | |
18 typedef struct _RemoteConnection RemoteConnection; | |
19 | |
1554
a96a20c7feb1
improved remote protocol to allow bidirectional communication
nadvornik
parents:
1284
diff
changeset
|
20 typedef void RemoteReadFunc(RemoteConnection *rc, const gchar *text, GIOChannel *channel, gpointer data); |
9 | 21 |
22 struct _RemoteConnection { | |
23 gint server; | |
1000
4fe8f9656107
For the sake of consistency, use glib basic types everywhere.
zas_
parents:
652
diff
changeset
|
24 gint fd; |
9 | 25 gchar *path; |
26 | |
27 gint channel_id; | |
28 RemoteReadFunc *read_func; | |
29 gpointer read_data; | |
30 | |
31 GList *clients; | |
32 }; | |
442 | 33 |
34 | |
649 | 35 void remote_close(RemoteConnection *rc); |
1000
4fe8f9656107
For the sake of consistency, use glib basic types everywhere.
zas_
parents:
652
diff
changeset
|
36 GList *remote_build_list(GList *list, gint argc, gchar *argv[], GList **errors); |
649 | 37 void remote_help(void); |
38 void remote_control(const gchar *arg_exec, GList *remote_list, const gchar *path, | |
39 GList *cmd_list, GList *collection_list); | |
9 | 40 |
649 | 41 RemoteConnection *remote_server_init(gchar *path, CollectionData *command_collection); |
9 | 42 |
43 | |
44 #endif | |
1055
1646720364cf
Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents:
1000
diff
changeset
|
45 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |