X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=uzbl.h;h=6ab31f6f95cf04151a384dcfc22bb3e2698d7483;hb=ce4ce4ad0cdb53af39092607fadc0b94e609d2e3;hp=fe63b3cc72184dd97b69a49a45b302502f352a80;hpb=cf6f5f41dfb424213b6a8d06edadc0a4c384661d;p=uzbl-mobile diff --git a/uzbl.h b/uzbl.h index fe63b3c..6ab31f6 100644 --- a/uzbl.h +++ b/uzbl.h @@ -93,11 +93,6 @@ typedef struct { gchar *socket_path; /* stores (key)"variable name" -> (value)"pointer to this var*/ GHashTable *proto_var; - /* command parsing regexes */ - GRegex *set_regex; - GRegex *act_regex; - GRegex *get_regex; - GRegex *bind_regex; gchar *sync_stdout; } Communication; @@ -248,6 +243,9 @@ static gboolean set_var_value(gchar *name, gchar *val); static gboolean +get_var_value(const gchar *name); + +static gboolean new_window_cb (WebKitWebView *web_view, WebKitWebFrame *frame, WebKitNetworkRequest *request, WebKitWebNavigationAction *navigation_action, WebKitWebPolicyDecision *policy_decision, gpointer user_data); WebKitWebView* @@ -305,6 +303,9 @@ static void new_window_load_uri (const gchar * uri); static void +chain (WebKitWebView *page, GArray *argv); + +static void keycmd (WebKitWebView *page, GArray *argv); static void @@ -336,9 +337,6 @@ static void parse_command(const char *cmd, const char *param); static void -runcmd(WebKitWebView *page, GArray *argv); - -static void parse_cmd_line(const char *ctl_line); static gchar* @@ -427,6 +425,12 @@ static void set_var(WebKitWebView *page, GArray *argv); static void +get_var(WebKitWebView *page, GArray *argv); + +static void +act_bind(WebKitWebView *page, GArray *argv); + +static void act_dump_config(); static void