summaryrefslogtreecommitdiff
path: root/Src/Zle/zle.h
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2013-12-02 15:39:20 +0100
committerAxel Beckert <abe@deuxchevaux.org>2013-12-02 15:39:20 +0100
commit8f07e7658dcdfecc082ddaaad8e26f460eb02d45 (patch)
treea16ecc9a433b450827fbd056b06a3260592a8a37 /Src/Zle/zle.h
parentdf234cd62d04180a54071c7a2a5210d1f16c8b98 (diff)
parent56aa469d06a60ff23fe0c50ab9d44ae40c150412 (diff)
downloadzsh-8f07e7658dcdfecc082ddaaad8e26f460eb02d45.tar.gz
zsh-8f07e7658dcdfecc082ddaaad8e26f460eb02d45.zip
Merge branch 'upstream' into debian
Diffstat (limited to 'Src/Zle/zle.h')
-rw-r--r--Src/Zle/zle.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/Src/Zle/zle.h b/Src/Zle/zle.h
index cf44b47d2..870e2149d 100644
--- a/Src/Zle/zle.h
+++ b/Src/Zle/zle.h
@@ -497,3 +497,15 @@ typedef REFRESH_ELEMENT *REFRESH_STRING;
#define METACHECK()
#define UNMETACHECK()
#endif
+
+
+typedef struct watch_fd *Watch_fd;
+
+struct watch_fd {
+ /* Function to call */
+ char *func;
+ /* Watched fd */
+ int fd;
+ /* 1 if func is called as a widget */
+ int widget;
+};