aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/variables.h
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2011-10-04 22:18:47 +0000
committerGravatar Brendan Taylor <whateley@gmail.com>2011-11-23 18:37:57 -0700
commit5cb7ce2b677a227a3a14c8de2203ceb23bf3e1b6 (patch)
tree63bec05475968a37cef503518dab7cb6d32f92b6 /src/variables.h
parent3eab4641aa978cbbc8d5c9fc041b307c2874e3f4 (diff)
add toggle command
Diffstat (limited to 'src/variables.h')
-rw-r--r--src/variables.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/variables.h b/src/variables.h
index 4f85474..dade652 100644
--- a/src/variables.h
+++ b/src/variables.h
@@ -10,6 +10,8 @@
#include "type.h"
+uzbl_cmdprop *get_var_c(const gchar *name);
+
gboolean set_var_value(const gchar *name, gchar *val);
void expand_variable(GString *buf, const gchar *name);
void variables_hash();
@@ -21,6 +23,12 @@ int get_var_value_int(const char *name);
float get_var_value_float_c(const uzbl_cmdprop *c);
float get_var_value_float(const char *name);
+void set_var_value_string_c(uzbl_cmdprop *c, const gchar *val);
+void set_var_value_int_c(uzbl_cmdprop *c, int f);
+void set_var_value_float_c(uzbl_cmdprop *c, float f);
+
+void send_set_var_event(const char *name, const uzbl_cmdprop *c);
+
void dump_config();
void dump_config_as_events();