about summary refs log tree commit diff
path: root/Src/zsh.h
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-02-19 10:12:37 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-02-19 10:12:37 +0000
commit64d011185ad8e65aabf3b18d07d2f5b29e804ae1 (patch)
treefecf212b9776dc9931a49e933951efdc0d6e390d /Src/zsh.h
parent6d52e0ae1ac2f2c7cf8489599e5fb37c951aa9ef (diff)
downloadzsh-64d011185ad8e65aabf3b18d07d2f5b29e804ae1.tar.gz
zsh-64d011185ad8e65aabf3b18d07d2f5b29e804ae1.tar.xz
zsh-64d011185ad8e65aabf3b18d07d2f5b29e804ae1.zip
26583: use HOOK_FUNCTIONS more widely
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) */
 
 /*