diff options
author | Brendan Taylor <whateley@gmail.com> | 2011-02-14 22:05:24 -0700 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2011-02-14 22:05:24 -0700 |
commit | 700332fac498169927ced24731ce1278369b1425 (patch) | |
tree | 856bfea2ce9e910c60ae66822f9c5d247aa6305a /src/uzbl-core.h | |
parent | 940591850179640811bac6cf206fabae61964f55 (diff) | |
parent | 99961c4561f478523048ed69b37b37c432c42b8a (diff) |
Merge commit '99961c4' (last_result) into experimental
Conflicts:
src/cookie-jar.c
src/uzbl-core.c
Diffstat (limited to 'src/uzbl-core.h')
-rw-r--r-- | src/uzbl-core.h | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/src/uzbl-core.h b/src/uzbl-core.h index b58c8fe..28092b4 100644 --- a/src/uzbl-core.h +++ b/src/uzbl-core.h @@ -87,7 +87,6 @@ typedef struct { /* stores (key)"variable name" -> (value)"pointer to var*/ GHashTable *proto_var; - gchar *sync_stdout; GPtrArray *connect_chan; GPtrArray *client_chan; } Communication; @@ -102,7 +101,8 @@ typedef struct { gchar *selected_url; gchar *last_selected_url; gchar *executable_path; - gchar* searchtx; + gchar *searchtx; + gchar *last_result; gboolean verbose; gboolean events_stdout; GPtrArray *event_buffer; @@ -239,9 +239,6 @@ typedef struct { char * itos(int val); -gchar* -strfree(gchar *str); - void clean_up(void); @@ -346,9 +343,6 @@ GtkPlug* create_plug (); void -run_handler (const gchar *act, const gchar *args); - -void settings_init (); void @@ -482,10 +476,20 @@ builtins(); typedef void (*Command)(WebKitWebView*, GArray *argv, GString *result); typedef struct { - Command function; - gboolean no_split; + const gchar *key; + Command function; + gboolean no_split; } CommandInfo; +const CommandInfo * +parse_command_parts(const gchar *line, GArray *a); + +void +parse_command_arguments(const gchar *p, GArray *a, gboolean no_split); + +void +run_parsed_command(const CommandInfo *c, GArray *a, GString *result); + typedef struct { gchar *name; gchar *cmd; |