about summary refs log tree commit diff stats
path: root/xombrero.h
diff options
context:
space:
mode:
authorJosh Rickmar <jrick@devio.us>2012-08-01 15:32:10 -0400
committerJosh Rickmar <jrick@devio.us>2012-08-01 15:32:10 -0400
commit9ca900cd5e075fd66de3ac87948b15cae589663b (patch)
treebd82b8c9609cbf920c2397b8dec8cba951421aa5 /xombrero.h
parentb7e09d8dfea47b72af1675bee23b5f33238b26fe (diff)
downloadxombrero-9ca900cd5e075fd66de3ac87948b15cae589663b.tar.gz
Add a :https command
Diffstat (limited to 'xombrero.h')
-rw-r--r--xombrero.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xombrero.h b/xombrero.h
index 6b27fd6..d5da4d9 100644
--- a/xombrero.h
+++ b/xombrero.h
@@ -443,6 +443,7 @@ char			*tld_get_suffix(const char *);
 #define XT_URI_ABOUT_HISTORY	("history")
 #define XT_URI_ABOUT_JSWL	("jswl")
 #define XT_URI_ABOUT_PLUGINWL	("plwl")
+#define XT_URI_ABOUT_HTTPS	("https")
 #define XT_URI_ABOUT_SET	("set")
 #define XT_URI_ABOUT_STATS	("stats")
 #define XT_URI_ABOUT_MARCO	("marco")
@@ -487,6 +488,7 @@ size_t			about_list_size(void);
 int			cookie_cmd(struct tab *, struct karg *);
 int			js_cmd(struct tab *, struct karg *);
 int			pl_cmd(struct tab *, struct karg *);
+int			https_cmd(struct tab *, struct karg *);
 void			startpage_add(const char *, ...);
 
 /*
@@ -522,6 +524,7 @@ void			startpage_add(const char *, ...);
 #define XT_WL_JAVASCRIPT	(1)
 #define XT_WL_COOKIE		(2)
 #define XT_WL_PLUGIN		(3)
+#define XT_WL_HTTPS		(4)
 
 struct domain {
 	RB_ENTRY(domain)	entry;
@@ -557,6 +560,7 @@ int		wl_save(struct tab *, struct karg *, int);
 int		toggle_cwl(struct tab *, struct karg *);
 int		toggle_js(struct tab *, struct karg *);
 int		toggle_pl(struct tab *, struct karg *);
+int		toggle_force_https(struct tab *, struct karg *);
 
 /* input autofocus */
 void		input_autofocus(struct tab *);
62' href='#n162'>162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207