Subject: Re: menuc vs libmenu
To: Patrick Welche <firstname.lastname@example.org>
From: Jason R Thorpe <email@example.com>
Date: 07/22/2000 10:40:13
On Sat, Jul 22, 2000 at 01:14:22PM +0100, Patrick Welche wrote:
> It appears that menuc generates a file (menu_defs.c by default) which defines
> a function int menu_init(void), declared in menu_defs.h. If one includes
> <menu.h>, there is a conflict as a function Menu_Hook menu_init(MENU *)
> is already declared there, as defined in libmenu/menu.c:242.
> Then wondered why sysinst works. Answer: it doesn't use libmenu => never
> includes menu.h. So, what is the difference between menuc+input file vs
> functions in libmenu - pros/cons/preferences?
libmenu is really the preferred interface, since it's a standard (I forget,
is it defined by the X/Open curses stuff? Or is it just defacto standard?)
-- Jason R. Thorpe <firstname.lastname@example.org>