about summary refs log tree commit diff
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-07 16:38:18 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-07 16:38:18 +0000
commit0ccb71ef43a4754bf115220e107785f68553f6d1 (patch)
treeb1806576c6852763609a254d996e4e1085999f82 /src/include
parentc4f6183f0fd716953cfdc2e1869b5310724a3e57 (diff)
downloads6-0ccb71ef43a4754bf115220e107785f68553f6d1.tar.gz
s6-0ccb71ef43a4754bf115220e107785f68553f6d1.tar.xz
s6-0ccb71ef43a4754bf115220e107785f68553f6d1.zip
Use ftrigw_notify_b in s6-ftrig-notify
Diffstat (limited to 'src/include')
-rw-r--r--src/include/s6/ftrigw.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/s6/ftrigw.h b/src/include/s6/ftrigw.h
index ccaf078..5be9d13 100644
--- a/src/include/s6/ftrigw.h
+++ b/src/include/s6/ftrigw.h
@@ -3,9 +3,12 @@
 #ifndef FTRIGW_H
 #define FTRIGW_H
 
+#include <skalibs/bytestr.h>
+
 extern int ftrigw_fifodir_make (char const *, int, int) ;
 extern int ftrigw_notify (char const *, char) ;
 extern int ftrigw_notifyb (char const *, char const *, unsigned int) ;
+#define ftrigw_notifys(f, s) ftrigw_notifyb(f, (s), str_len(s))
 extern int ftrigw_clean (char const *) ;
 
 #endif