* libvlc.h: main libvlc header
*****************************************************************************
* Copyright (C) 1998-2002 VideoLAN
- * $Id: libvlc.h,v 1.16 2002/10/01 22:29:09 massiot Exp $
+ * $Id: libvlc.h,v 1.18 2002/10/05 19:26:23 jlj Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
"The default behavior is to automatically select the best module " \
"available.")
-#define VERBOSE_TEXT N_("be verbose")
+#define VERBOSE_TEXT N_("verbosity (0-4)")
#define VERBOSE_LONGTEXT N_( \
- "This options activates the output of information messages.")
+ "This options sets the verbosity level (0=no messages, 1=only errors, " \
+ "4=max.")
#define QUIET_TEXT N_("be quiet")
#define QUIET_LONGTEXT N_( \
add_category_hint( N_("Interface"), NULL);
add_module_with_short( "intf", 'I', "interface", NULL, NULL,
INTF_TEXT, INTF_LONGTEXT );
- add_bool_with_short( "verbose", 'v', 0, NULL,
- VERBOSE_TEXT, VERBOSE_LONGTEXT );
+ add_integer_with_short( "verbose", 'v', -1, NULL,
+ VERBOSE_TEXT, VERBOSE_LONGTEXT );
add_bool_with_short( "quiet", 'q', 0, NULL, QUIET_TEXT, QUIET_LONGTEXT );
add_bool( "color", 0, NULL, COLOR_TEXT, COLOR_LONGTEXT );
add_string( "search-path", NULL, NULL, INTF_PATH_TEXT, INTF_PATH_LONGTEXT );
add_integer( "channel-port", 6010, NULL,
CHAN_PORT_TEXT, CHAN_PORT_LONGTEXT );
add_integer( "mtu", 1500, NULL, MTU_TEXT, MTU_LONGTEXT );
+#ifdef SYS_DARWIN
+ add_string( "iface", "en0", NULL, IFACE_TEXT, IFACE_LONGTEXT );
+#else
add_string( "iface", "eth0", NULL, IFACE_TEXT, IFACE_LONGTEXT );
+#endif
add_string( "iface-addr", "", NULL, IFACE_ADDR_TEXT, IFACE_ADDR_LONGTEXT );
add_integer( "program", 0, NULL,