add parameter dcerpc_info to PIDL_dissect_ipv?address()
[wireshark-wip.git] / ui / alert_box.h
blobfc5406f2ac2d004be1225b13d73c3fb6d390e863
1 /* alert_box.h
2 * Routines to put up various "standard" alert boxes used in multiple
3 * places
5 * $Id$
7 * Wireshark - Network traffic analyzer
8 * By Gerald Combs <gerald@wireshark.org>
9 * Copyright 1998 Gerald Combs
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26 #ifndef __ALERT_BOX_H__
27 #define __ALERT_BOX_H__
29 #ifdef __cplusplus
30 extern "C" {
31 #endif /* __cplusplus */
34 * Alert box for general errors.
36 extern void failure_alert_box(const char *msg_format, va_list ap);
39 * Alert box for a failed attempt to open or create a file.
40 * "err" is assumed to be a UNIX-style errno; "for_writing" is TRUE if
41 * the file is being opened for writing and FALSE if it's being opened
42 * for reading.
44 extern void open_failure_alert_box(const char *filename, int err,
45 gboolean for_writing);
48 * Alert box for a failed attempt to read a file.
49 * "err" is assumed to be a UNIX-style errno.
51 extern void read_failure_alert_box(const char *filename, int err);
54 * Alert box for a failed attempt to write to a file.
55 * "err" is assumed to be a UNIX-style errno.
57 extern void write_failure_alert_box(const char *filename, int err);
59 #ifdef __cplusplus
61 #endif /* __cplusplus */
63 #endif /* __ALERT_BOX_H__ */
66 * Editor modelines
68 * Local Variables:
69 * c-basic-offset: 4
70 * tab-width: 8
71 * indent-tabs-mode: nil
72 * End:
74 * ex: set shiftwidth=4 tabstop=8 expandtab:
75 * :indentSize=4:tabSize=8:noTabs=true: