X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mgLib/blobdiff_plain/43622e4661c0b50650662c0c0b1e01f00da375bf..b3857bd983dd4a40ee6bba85cc7ad9453876efd9:/msg.h diff --git a/msg.h b/msg.h index dd9eddb..ae2e929 100644 --- a/msg.h +++ b/msg.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: msg.h,v 1.5 2000/08/15 22:40:15 mdw Exp $ + * $Id: msg.h,v 1.7 2004/04/08 01:36:14 mdw Exp $ * * Display a message and get an answer * @@ -27,26 +27,6 @@ * MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: msg.h,v $ - * Revision 1.5 2000/08/15 22:40:15 mdw - * Change guard constants. - * - * Revision 1.4 1999/05/06 19:51:48 mdw - * Reformatted the LGPL notice a little bit. - * - * Revision 1.3 1999/05/05 18:52:45 mdw - * Change licensing conditions to LGPL. - * - * 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 MGLIB_MSG_H #define MGLIB_MSG_H @@ -62,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. * @@ -79,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 -------------------------------------------------*/