/* $Id: menu2.h,v 1.7 2006/04/09 07:37:05 hurtta Exp $ */

/******************************************************************************
 *  The Elm (ME+) Mail System  -  $Revision: 1.7 $   $State: Exp $
 *
 *  Modified by: Kari Hurtta <hurtta+elm@posti.FMI.FI> 
 *                           (was hurtta+elm@ozone.FMI.FI)
 *
 * This code is originally written by Michael Elkins <elkins@aero.org>.
 *****************************************************************************/

struct menu_item {
  char *option;
  char key;
  char offset;
  char type;
  union ptrs { 
    char *c;
    int *i; /* used by BOL and INT */
  } d;
  int size;
};

extern int generic_menu P_((struct menu_item items[], int max, 
			     char *prompt, char *title));


/*
 * Local Variables:
 *  mode:c
 *  c-basic-offset:4
 *  buffer-file-coding-system: iso-8859-1
 * End:
 */


syntax highlighted by Code2HTML, v. 0.9.1