X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/763d5e6ad88ef3ba1cd1d7742d060e4f1e54c6b8..1f868ca317a161c7b754dc2d80b3be49eddafb23:/lib/printf.h diff --git a/lib/printf.h b/lib/printf.h index ca93fc8..fd052b0 100644 --- a/lib/printf.h +++ b/lib/printf.h @@ -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 @@ -20,11 +20,14 @@ #ifndef PRINTF_H #define PRINTF_H +#include + 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! */