GOOSE Messages don't use the length field to perform the dissection.
[obnox/wireshark/wip.git] / console_io.h
1 /* console_io.h
2  * Declarations of routines to print to the standard error, and, in
3  * GUI programs on Windows, to create a console in which to display
4  * the standard error.
5  *
6  * $Id$
7  *
8  * Wireshark - Network traffic analyzer
9  * By Gerald Combs <gerald@wireshark.org>
10  * Copyright 1998 Gerald Combs
11  *
12  * This program is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU General Public License
14  * as published by the Free Software Foundation; either version 2
15  * of the License, or (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with this program; if not, write to the Free Software
24  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
25  */
26
27 #ifndef __CONSOLE_IO_H__
28 #define __CONSOLE_IO_H__
29
30 #ifdef __cplusplus
31 extern "C" {
32 #endif /* __cplusplus */
33
34 /*
35  * Print to the standard error.  On Windows, create a console for the
36  * standard error to show up on, if necessary.
37  * XXX - pop this up in a window of some sort on UNIX+X11 if the controlling
38  * terminal isn't the standard error?
39  */
40 extern void
41 vfprintf_stderr(const char *fmt, va_list ap);
42
43 extern void
44 fprintf_stderr(const char *fmt, ...)
45     G_GNUC_PRINTF(1, 2);
46
47 #ifdef __cplusplus
48 }
49 #endif /* __cplusplus */
50
51 #endif /* __CMDARG_ERR_H__ */