aboutsummaryrefslogtreecommitdiffhomepage
path: root/uzbl-core.h
diff options
context:
space:
mode:
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 *