aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-05-21 18:56:19 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-05-21 18:56:19 +0200
commit688779fbc61d48046199d1f45549720e289ce417 (patch)
tree4ea8c13d96428176f97c0c27f665391c09a93098 /config.def.h
parentfb0fd67d6e7e55548c7a0a1ec67f608efffe3a94 (diff)
downloadxmppcb-688779fbc61d48046199d1f45549720e289ce417.tar.gz
xmppcb-688779fbc61d48046199d1f45549720e289ce417.zip
Added support for user generated shell scripts:
- create a director with shell scripts - call them within the chat with @<script-name> - four sample scripts
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 759a941..72b9be6 100644
--- a/config.def.h
+++ b/config.def.h
@@ -41,3 +41,5 @@ static const char *ROOMS[] = {
#define HISTORY_CONTEXT 50 /* messages used when no period given */
#define KEEPALIVE_SEC 60 /* whitespace keepalive interval */
#define TLS_VERIFY 1 /* 1 = verify server TLS certificate */
+#define CMD_DIR "cmd" /* dir of @scriptname command scripts */
+#define CMD_TIMEOUT_SEC 10 /* kill a command script after N sec */