diff options
author | Robert Manea <gotmor@gmail.com> | 2009-10-13 15:53:19 +0200 |
---|---|---|
committer | Robert Manea <gotmor@gmail.com> | 2009-10-13 15:53:19 +0200 |
commit | 5b1f6a5deed654e651e1de249a81b895d0073313 (patch) | |
tree | b045382fe6aca7fd7e843236e78525902755d46c /uzbl-core.h | |
parent | 19806c1467b71d49881a9d76e28f3c656312e77b (diff) |
handle multiple calls to --conect-socket
Diffstat (limited to 'uzbl-core.h')
-rw-r--r-- | uzbl-core.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/uzbl-core.h b/uzbl-core.h index 12c1716..32d92e3 100644 --- a/uzbl-core.h +++ b/uzbl-core.h @@ -81,7 +81,7 @@ typedef struct { GHashTable *proto_var; gchar *sync_stdout; - GIOChannel *connect_chan; + GPtrArray *connect_chan; GPtrArray *client_chan; } Communication; @@ -99,7 +99,7 @@ typedef struct { gchar* searchtx; gboolean verbose; GPtrArray *event_buffer; - gchar* connect_socket_name; + gchar** connect_socket_names; } State; @@ -424,6 +424,9 @@ update_gui(WebKitWebView *page, GArray *argv, GString *result); void event(WebKitWebView *page, GArray *argv, GString *result); +void +init_connect_socket(); + typedef void (*Command)(WebKitWebView*, GArray *argv, GString *result); typedef struct { Command function; |