]> git.sesse.net Git - vlc/blobdiff - src/libvlc.h
./src/misc/netutils.c: GetMacAddress Darwin support
[vlc] / src / libvlc.h
index f2b34e05f7311f683d8ba2af384da57613ed7979..5bcc23455e9aabfd56f83bc0dacbc6d3416ac7c0 100644 (file)
@@ -2,7 +2,7 @@
  * 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_( \
@@ -351,8 +352,8 @@ vlc_module_begin();
     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 );
@@ -397,7 +398,11 @@ vlc_module_begin();
     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,