iscsi also has a system port (860) registered in addition to the more common
[obnox/wireshark/wip.git] / simple_dialog.h
index 0fc06f395a4964a22b227c946af4407983dcdd0d..ea7355b80def60a46114ead091bbdeedfde1d44e 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef __DIALOG_H__
 #define __DIALOG_H__
 
-#include <epan/gnuc_format_check.h>
-
 #ifdef __cplusplus
 extern "C" {
 #endif /* __cplusplus */
@@ -89,7 +87,8 @@ typedef enum {
  */
 extern gpointer simple_dialog(ESD_TYPE_E type, gint btn_mask,
     const gchar *msg_format, ...)
-    GNUC_FORMAT_CHECK(printf, 3, 4);
+    G_GNUC_PRINTF(3, 4);
+
 /** Create and show a simple dialog using a va_list.
  *
  * @param type type of dialog
@@ -160,6 +159,15 @@ extern char *simple_dialog_format_message(const char *msg);
  */
 extern void display_queued_messages(void);
 
+/** Show a message in the status bar.
+ *
+ * @param msg Status message
+ */
+extern void simple_status(const gchar *msg_format, ...)
+    G_GNUC_PRINTF(1, 2);
+
+
+
 #ifdef __cplusplus
 }
 #endif /* __cplusplus */