chiark / gitweb /
More event_*
[disorder] / lib / printf.h
index 9125aceca27b5c209a084d62ab539fe481f80505..fd052b0a37e12b39b8d3db566ba1060f24bd60d0 100644 (file)
 #ifndef PRINTF_H
 #define PRINTF_H
 
+#include <stdarg.h>
+
 struct sink;
 
 int byte_vsinkprintf(struct sink *output,
                     const char *fmt,
                     va_list ap);
+int byte_sinkprintf(struct sink *output, const char *fmt, ...);
 /* partial printf implementation that takes ASCII format strings but
  * arbitrary byte strings as args to %s and friends.  Lots of bits are
  * missing! */