chiark / gitweb /
Columns are now resizable and wide columns are ellipsized. Columns
[disorder] / lib / printf.h
index 209615d7d6238cad086f423436c5236b15be414c..fd052b0a37e12b39b8d3db566ba1060f24bd60d0 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * This file is part of DisOrder
- * Copyright (C) 2004, 2006 Richard Kettlewell
+ * Copyright (C) 2004, 2006-2008 Richard Kettlewell
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
 #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! */
@@ -71,4 +74,3 @@ c-basic-offset:2
 comment-column:40
 End:
 */
-/* arch-tag:a3e98b59150e46c340b0ce5f87274458 */