chiark / gitweb /
debian: Fix package sections.
[mgLib] / msg.h
diff --git a/msg.h b/msg.h
index 9f7e825a8018d632c2e4e87147f6e34b056f2a57..ae2e9293567bc3074a142863674d1dad912a563a 100644 (file)
--- a/msg.h
+++ b/msg.h
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: msg.h,v 1.2 1999/04/29 20:48:13 mdw Exp $
+ * $Id: msg.h,v 1.7 2004/04/08 01:36:14 mdw Exp $
  *
  * Display a message and get an answer
  *
  * This file is part of the mgLib GTK utilities library.
  *
  * mgLib is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * it under the terms of the GNU Library General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
  * 
  * mgLib is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
+ * GNU Library General Public License for more details.
  * 
- * You should have received a copy of the GNU General Public License
- * along with mgLib; if not, write to the Free Software Foundation,
- * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * You should have received a copy of the GNU Library General Public
+ * License along with mgLib; if not, write to the Free
+ * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ * MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: msg.h,v $
- * Revision 1.2  1999/04/29 20:48:13  mdw
- * Add documentation for `msg'.
- *
- * Revision 1.1  1998/12/11 09:44:21  mdw
- * Initial version.
- *
- */
-
-#ifndef MSG_H
-#define MSG_H
+#ifndef MGLIB_MSG_H
+#define MGLIB_MSG_H
 
 #ifdef __cplusplus
   extern "C" {
@@ -52,8 +42,9 @@
 
 /* --- @msg@ --- *
  *
- * Arguments:  @char *buttons@ = the button strings to display
- *             @char *msg@ = the message skeleton string
+ * Arguments:  @const char *title@ = the title for the message box
+ *             @const char *buttons@ = the button strings to display
+ *             @const char *msg@ = the message skeleton string
  *
  * Returns:    Index of the button selected.
  *
@@ -69,7 +60,8 @@
  *             of the button selected.
  */
 
-extern int msg(const char */*buttons*/, const char */*msg*/, ...);
+extern int msg(const char */*msg*/, const char */*buttons*/,
+              const char */*msg*/, ...);
 
 /*----- That's all, folks -------------------------------------------------*/