aboutsummaryrefslogtreecommitdiffhomepage
path: root/uzbl-core.h
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2009-10-14 07:16:34 -0600
committerGravatar Brendan Taylor <whateley@gmail.com>2009-10-14 07:16:34 -0600
commitef7c7b2f2125a7226fcf58beb76f9891ab9908fc (patch)
treef5a692c5a16d488625c2ee087b6271eaced82337 /uzbl-core.h
parent87979aa993c4c73374999ca420c8af09fe47ca13 (diff)
fix tests, introduce command tests
includes new tests for set, event/request, print, scroll_*, toggle_status, sync_sh and js
Diffstat (limited to 'uzbl-core.h')
-rw-r--r--uzbl-core.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/uzbl-core.h b/uzbl-core.h
index a7a8126..270b595 100644
--- a/uzbl-core.h
+++ b/uzbl-core.h
@@ -216,6 +216,19 @@ typedef struct {
gchar* default_value;
} XDG_Var;
+/* uzbl variables */
+enum ptr_type {TYPE_INT, TYPE_STR, TYPE_FLOAT};
+typedef struct {
+ enum ptr_type type;
+ union {
+ int *i;
+ float *f;
+ gchar **s;
+ } ptr;
+ int dump;
+ int writeable;
+ /*@null@*/ void (*func)(void);
+} uzbl_cmdprop;
/* Functions */
char *