X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/763d5e6ad88ef3ba1cd1d7742d060e4f1e54c6b8..bcf50f5c54870759e531a239400a47b64d22e554:/lib/printf.h?ds=sidebyside 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! */