about summary refs log tree commit diff
path: root/Src/zsh.h
diff options
context:
space:
mode:
Diffstat (limited to 'Src/zsh.h')
-rw-r--r--Src/zsh.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index 159806f2c..0b9007333 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -1117,6 +1117,15 @@ struct funcwrap {
 #define WRAPDEF(func) \
     { NULL, 0, func, NULL }
 
+/*
+ * User-defined hook arrays
+ */
+
+/* Name appended to function name to get hook array */
+#define HOOK_SUFFIX	"_functions"
+/* Length of that including NUL byte */
+#define HOOK_SUFFIX_LEN	11
+
 /* node in builtin command hash table (builtintab) */
 
 /*