X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/460b9539a7c15580e41a71bbc0f47ae776238915..b0b15b7ced28b3c6ddfcd4b0a7e46ee6432a243c:/lib/printf.h diff --git a/lib/printf.h b/lib/printf.h index 209615d..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! */ @@ -71,4 +74,3 @@ c-basic-offset:2 comment-column:40 End: */ -/* arch-tag:a3e98b59150e46c340b0ce5f87274458 */