Common output routine in utility programs as a concession to
environments which may no have or prefer stdout/stderr such as XBOX.
This commit is contained in:
11
src/util.h
11
src/util.h
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: util.h,v 1.7 2004/08/07 01:48:36 rocky Exp $
|
||||
$Id: util.h,v 1.8 2004/11/04 10:08:23 rocky Exp $
|
||||
|
||||
Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
||||
|
||||
@@ -38,6 +38,11 @@
|
||||
#endif
|
||||
#include <ctype.h>
|
||||
|
||||
#ifdef HAVE_STDARG_H
|
||||
/* Get a definition for va_list. */
|
||||
#include <stdarg.h>
|
||||
#endif
|
||||
|
||||
#include <popt.h>
|
||||
/* Accomodate to older popt that doesn't support the "optional" flag */
|
||||
#ifndef POPT_ARGFLAG_OPTIONAL
|
||||
@@ -109,4 +114,8 @@ void print_drive_capabilities(cdio_drive_read_cap_t p_read_cap,
|
||||
cdio_drive_misc_cap_t p_misc_cap);
|
||||
|
||||
|
||||
/* Common place for Output routine. Some environments like XBOX may not
|
||||
stdout and stderr. */
|
||||
void report (FILE *stream, const char *psz_format, ...);
|
||||
|
||||
#endif /* UTIL_H */
|
||||
|
||||
Reference in New Issue
Block a user