about summary refs log tree commit diff stats
path: root/xombrero.c
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.c
parentb7e09d8dfea47b72af1675bee23b5f33238b26fe (diff)
downloadxombrero-9ca900cd5e075fd66de3ac87948b15cae589663b.tar.gz
Add a :https command
Diffstat (limited to 'xombrero.c')
-rw-r--r--xombrero.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/xombrero.c b/xombrero.c
index ea60b7f..7b80c96 100644
--- a/xombrero.c
+++ b/xombrero.c
@@ -3326,6 +3326,19 @@ struct cmd {
 	{ "domain",		2,	pl_cmd,			XT_WL_TOGGLE | XT_WL_TOPLEVEL,			0 },
 	{ "fqdn",		2,	pl_cmd,			XT_WL_TOGGLE | XT_WL_FQDN,			0 },
 
+	/* https command */
+	{ "https",		0,	https_cmd,		XT_SHOW | XT_WL_PERSISTENT | XT_WL_SESSION,	0 },
+	{ "save",		1,	https_cmd,		XT_SAVE | XT_WL_FQDN,				0 },
+	{ "domain",		2,	https_cmd,		XT_SAVE | XT_WL_TOPLEVEL,			0 },
+	{ "fqdn",		2,	https_cmd,		XT_SAVE | XT_WL_FQDN,				0 },
+	{ "show",		1,	https_cmd,		XT_SHOW | XT_WL_PERSISTENT | XT_WL_SESSION,	0 },
+	{ "all",		2,	https_cmd,		XT_SHOW | XT_WL_PERSISTENT | XT_WL_SESSION,	0 },
+	{ "persistent",		2,	https_cmd,		XT_SHOW | XT_WL_PERSISTENT,			0 },
+	{ "session",		2,	https_cmd,		XT_SHOW | XT_WL_SESSION,			0 },
+	{ "toggle",		1,	https_cmd,		XT_WL_TOGGLE | XT_WL_FQDN,			0 },
+	{ "domain",		2,	https_cmd,		XT_WL_TOGGLE | XT_WL_TOPLEVEL,			0 },
+	{ "fqdn",		2,	https_cmd,		XT_WL_TOGGLE | XT_WL_FQDN,			0 },
+
 	/* toplevel (domain) command */
 	{ "toplevel",		0,	toplevel_cmd,		XT_WL_TOGGLE | XT_WL_TOPLEVEL | XT_WL_RELOAD,	0 },
 	{ "toggle",		1,	toplevel_cmd,		XT_WL_TOGGLE | XT_WL_TOPLEVEL | XT_WL_RELOAD,	0 },