remove trailing slash from link
[mplayer/glamo.git] / cfg-mplayer.h
blobbd6a2faedc8fbc5c01df64d5fa136e7621373421
1 /*
2 * config for cfgparser
3 */
5 #include "cfg-common.h"
7 extern int noconsolecontrols;
9 #if defined(HAVE_FBDEV)||defined(HAVE_VESA)
10 extern char *monitor_hfreq_str;
11 extern char *monitor_vfreq_str;
12 extern char *monitor_dotclock_str;
13 #endif
15 #ifdef HAVE_FBDEV
16 extern char *fb_mode_cfgfile;
17 extern char *fb_mode_name;
18 #endif
19 #ifdef HAVE_DIRECTFB
20 #if DIRECTFBVERSION > 912
21 extern char *dfb_params;
22 #endif
23 #endif
24 #ifdef USE_FAKE_MONO
25 extern int fakemono; // defined in dec_audio.c
26 #endif
28 extern int volstep;
30 #ifdef HAVE_LIRC
31 extern char *lirc_configfile;
32 #endif
34 extern int vo_doublebuffering;
35 extern int vo_vsync;
36 extern int vo_fsmode;
37 extern int vo_dbpp;
38 extern int vo_directrendering;
39 extern float vo_panscan;
40 extern float vo_panscanrange;
41 /* only used at startup (setting these values from configfile) */
42 extern int vo_gamma_brightness;
43 extern int vo_gamma_saturation;
44 extern int vo_gamma_contrast;
45 extern int vo_gamma_hue;
46 extern char *vo_geometry;
47 extern int vo_ontop;
48 extern int vo_border;
49 extern int vo_keepaspect;
50 extern int vo_rootwin;
52 extern int opt_screen_size_x;
53 extern int opt_screen_size_y;
54 extern int fullscreen;
55 extern int vidmode;
57 #ifdef USE_OSD
58 extern int osd_level;
59 #endif
61 extern char *ao_outputfilename;
62 extern int ao_pcm_waveheader;
64 #ifdef HAVE_X11
65 extern char *mDisplayName;
66 extern int fs_layer;
67 extern int stop_xscreensaver;
68 extern char **vo_fstype_list;
69 extern int vo_nomouse_input;
70 #endif
71 extern int WinID;
73 #ifdef HAVE_MENU
74 extern int menu_startup;
75 #endif
77 #ifdef HAVE_ZR
78 extern int vo_zr_parseoption(m_option_t* conf, char *opt, char * param);
79 extern void vo_zr_revertoption(m_option_t* opt,char* pram);
80 #endif
82 #ifdef HAVE_DXR2
83 extern m_option_t dxr2_opts[];
84 #endif
86 #ifdef HAVE_NEW_GUI
87 extern char * skinName;
88 extern int enqueue;
89 extern int guiWinID;
90 #endif
92 #ifdef HAVE_XINERAMA
93 extern int xinerama_screen;
94 #endif
96 /* from libvo/aspect.c */
97 extern float monitor_aspect;
98 extern float monitor_pixel_aspect;
100 extern int sws_flags;
101 extern int readPPOpt(void *conf, char *arg);
102 extern void revertPPOpt(void *conf, char* opt);
103 extern char* pp_help;
105 m_option_t vd_conf[]={
106 {"help", "Use MPlayer with an appropriate video file instead of live partners to avoid vd.\n", CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
107 {NULL, NULL, 0, 0, 0, 0, NULL}
111 * CONF_TYPE_FUNC_FULL :
112 * allows own implementations for passing the params
114 * the function receives parameter name and argument (if it does not start with - )
115 * useful with a conf.name like 'aa*' to parse several parameters to a function
116 * return 0 =ok, but we didn't need the param (could be the filename)
117 * return 1 =ok, we accepted the param
118 * negative values: see cfgparser.h, ERR_XXX
120 * by Folke
123 m_option_t mplayer_opts[]={
124 /* name, pointer, type, flags, min, max */
126 //---------------------- libao/libvo options ------------------------
127 {"o", "Option -o has been renamed to -vo (video-out), use -vo.\n",
128 CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
129 {"vo", &video_driver_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
130 {"ao", &audio_driver_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
131 {"fixed-vo", &fixed_vo, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
132 {"nofixed-vo", &fixed_vo, CONF_TYPE_FLAG,CONF_GLOBAL, 0, 0, NULL},
133 {"ontop", &vo_ontop, CONF_TYPE_FLAG, 0, 0, 1, NULL},
134 {"noontop", &vo_ontop, CONF_TYPE_FLAG, 0, 1, 0, NULL},
135 {"rootwin", &vo_rootwin, CONF_TYPE_FLAG, 0, 0, 1, NULL},
136 {"border", &vo_border, CONF_TYPE_FLAG, 0, 0, 1, NULL},
137 {"noborder", &vo_border, CONF_TYPE_FLAG, 0, 1, 0, NULL},
139 {"aop", "-aop is deprecated, use -af instead.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
140 {"dsp", "Use -ao oss:dsp_path.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
141 {"mixer", &mixer_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
142 {"mixer-channel", &mixer_channel, CONF_TYPE_STRING, 0, 0, 0, NULL},
143 {"softvol", &soft_vol, CONF_TYPE_FLAG, 0, 0, 1, NULL},
144 {"nosoftvol", &soft_vol, CONF_TYPE_FLAG, 0, 1, 0, NULL},
145 {"softvol-max", &soft_vol_max, CONF_TYPE_FLOAT, CONF_RANGE, 10, 10000, NULL},
146 {"volstep", &volstep, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
147 {"master", "Option -master has been removed, use -af volume instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
148 // override audio buffer size (used only by -ao oss, anyway obsolete...)
149 {"abs", &ao_data.buffersize, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
151 // -ao pcm options:
152 {"aofile", "-aofile is deprecated. Use -ao pcm:file=<filename> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
153 {"waveheader", "-waveheader is deprecated. Use -ao pcm:waveheader instead.\n", CONF_TYPE_PRINT, 0, 0, 1, NULL},
154 {"nowaveheader", "-nowaveheader is deprecated. Use -ao pcm:nowaveheader instead.\n", CONF_TYPE_PRINT, 0, 1, 0, NULL},
156 {"alsa", "-alsa has been removed. Remove it from your config file.\n",
157 CONF_TYPE_PRINT, 0, 0, 0, NULL},
158 {"noalsa", "-noalsa has been removed. Remove it from your config file.\n",
159 CONF_TYPE_PRINT, 0, 0, 0, NULL},
160 {"edlout", &edl_output_filename, CONF_TYPE_STRING, 0, 0, 0, NULL},
162 #ifdef HAVE_X11
163 {"display", &mDisplayName, CONF_TYPE_STRING, 0, 0, 0, NULL},
164 #endif
166 // -vo png only:
167 #ifdef HAVE_PNG
168 {"z", "-z is replaced by -vo png:z=<0-9>\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
169 #endif
170 // -vo jpeg only:
171 #ifdef HAVE_JPEG
172 {"jpeg", "-jpeg is deprecated. Use -vo jpeg:options instead.\n",
173 CONF_TYPE_PRINT, 0, 0, 0, NULL},
174 #endif
175 // -vo sdl only:
176 {"sdl", "Use -vo sdl:driver=<driver> instead of -vo sdl -sdl driver.\n",
177 CONF_TYPE_PRINT, 0, 0, 0, NULL},
178 {"noxv", "-noxv is deprecated. Use -vo sdl:nohwaccel instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
179 {"forcexv", "-forcexv is deprecated. Use -vo sdl:forcexv instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
180 // -ao sdl only:
181 {"sdla", "Use -ao sdl:driver instead of -ao sdl -sdla driver.\n",
182 CONF_TYPE_PRINT, 0, 0, 0, NULL},
184 #if defined(HAVE_FBDEV)||defined(HAVE_VESA)
185 {"monitor-hfreq", &monitor_hfreq_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
186 {"monitor-vfreq", &monitor_vfreq_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
187 {"monitor-dotclock", &monitor_dotclock_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
188 #endif
190 #ifdef HAVE_FBDEV
191 {"fbmode", &fb_mode_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
192 {"fbmodeconfig", &fb_mode_cfgfile, CONF_TYPE_STRING, 0, 0, 0, NULL},
193 #endif
194 #ifdef HAVE_DIRECTFB
195 #if DIRECTFBVERSION > 912
196 {"dfbopts", "-dfbopts is deprecated, use -vf directfb:dfbopts=... instead\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
197 #endif
198 #endif
200 // force window width/height or resolution (with -vm)
201 {"x", &opt_screen_size_x, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL},
202 {"y", &opt_screen_size_y, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL},
203 // set screen dimensions (when not detectable or virtual!=visible)
204 {"screenw", &vo_screenwidth, CONF_TYPE_INT, CONF_RANGE|CONF_OLD, 0, 4096, NULL},
205 {"screenh", &vo_screenheight, CONF_TYPE_INT, CONF_RANGE|CONF_OLD, 0, 4096, NULL},
206 // Geometry string
207 {"geometry", &vo_geometry, CONF_TYPE_STRING, 0, 0, 0, NULL},
208 // set aspect ratio of monitor - useful for 16:9 TVout
209 {"monitoraspect", &monitor_aspect, CONF_TYPE_FLOAT, CONF_RANGE, 0.2, 9.0, NULL},
210 {"monitorpixelaspect", &monitor_pixel_aspect, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 9.0, NULL},
211 // video mode switching: (x11,xv,dga)
212 {"vm", &vidmode, CONF_TYPE_FLAG, 0, 0, 1, NULL},
213 {"novm", &vidmode, CONF_TYPE_FLAG, 0, 1, 0, NULL},
214 // start in fullscreen mode:
215 {"fs", &fullscreen, CONF_TYPE_FLAG, 0, 0, 1, NULL},
216 {"nofs", &fullscreen, CONF_TYPE_FLAG, 0, 1, 0, NULL},
217 // set fullscreen switch method (workaround for buggy WMs)
218 {"fsmode", "-fsmode is obsolete, avoid it and use -fstype instead.\nIf you really want it, try -fsmode-dontuse, but don't report bugs!\n", CONF_TYPE_PRINT, CONF_RANGE, 0, 31, NULL},
219 {"fsmode-dontuse", &vo_fsmode, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
220 // set bpp (x11+vm, dga, fbdev, vesa, svga?)
221 {"bpp", &vo_dbpp, CONF_TYPE_INT, CONF_RANGE, 0, 32, NULL},
222 {"colorkey", &vo_colorkey, CONF_TYPE_INT, 0, 0, 0, NULL},
223 {"nocolorkey", &vo_colorkey, CONF_TYPE_FLAG, 0, 0, 0x1000000, NULL},
224 // double buffering: (mga/xmga, xv, vidix, vesa, fbdev)
225 {"double", &vo_doublebuffering, CONF_TYPE_FLAG, 0, 0, 1, NULL},
226 {"nodouble", &vo_doublebuffering, CONF_TYPE_FLAG, 0, 1, 0, NULL},
227 // wait for v-sync (vesa)
228 {"vsync", &vo_vsync, CONF_TYPE_FLAG, 0, 0, 1, NULL},
229 {"novsync", &vo_vsync, CONF_TYPE_FLAG, 0, 1, 0, NULL},
230 {"panscan", &vo_panscan, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 1.0, NULL},
231 {"panscanrange", &vo_panscanrange, CONF_TYPE_FLOAT, CONF_RANGE, -19.0, 99.0, NULL},
233 {"grabpointer", &vo_grabpointer, CONF_TYPE_FLAG, 0, 0, 1, NULL},
234 {"nograbpointer", &vo_grabpointer, CONF_TYPE_FLAG, 0, 1, 0, NULL},
236 {"adapter", &vo_adapter_num, CONF_TYPE_INT, CONF_RANGE, 0, 5, NULL},
237 {"refreshrate",&vo_refresh_rate,CONF_TYPE_INT,CONF_RANGE, 0,100, NULL},
238 {"wid", &WinID, CONF_TYPE_INT, 0, 0, 0, NULL},
239 #ifdef HAVE_X11
240 // x11,xv,xmga,xvidix
241 {"icelayer", "-icelayer is obsolete. Use -fstype layer:<number> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
242 {"stop-xscreensaver", &stop_xscreensaver, CONF_TYPE_FLAG, 0, 0, 1, NULL},
243 {"nostop-xscreensaver", &stop_xscreensaver, CONF_TYPE_FLAG, 0, 1, 0, NULL},
244 {"stop_xscreensaver", "Use -stop-xscreensaver instead, options with _ have been obsoleted.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
245 {"fstype", &vo_fstype_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
246 {"nomouseinput", &vo_nomouse_input, CONF_TYPE_FLAG,0,0,-1,NULL},
247 #endif
249 {"xineramascreen", &xinerama_screen, CONF_TYPE_INT, CONF_RANGE, -2, 32, NULL},
251 {"brightness",&vo_gamma_brightness, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
252 {"saturation",&vo_gamma_saturation, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
253 {"contrast",&vo_gamma_contrast, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
254 {"hue",&vo_gamma_hue, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
255 {"keepaspect", &vo_keepaspect, CONF_TYPE_FLAG, 0, 0, 1, NULL},
256 {"nokeepaspect", &vo_keepaspect, CONF_TYPE_FLAG, 0, 1, 0, NULL},
258 // direct rendering (decoding to video out buffer)
259 {"dr", &vo_directrendering, CONF_TYPE_FLAG, 0, 0, 1, NULL},
260 {"nodr", &vo_directrendering, CONF_TYPE_FLAG, 0, 1, 0, NULL},
261 {"vaa_dr", "-vaa_dr is obsolete, use -dr.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
262 {"vaa_nodr", "-vaa_nodr is obsolete, use -nodr.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
264 #ifdef HAVE_AA
265 // -vo aa
266 {"aa*", "-aa* is deprecated. Use -vo aa:suboption instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
267 #endif
269 #ifdef HAVE_ZR
270 // -vo zr
271 {"zr*", vo_zr_parseoption, CONF_TYPE_FUNC_FULL, 0, 0, 0, &vo_zr_revertoption },
272 #endif
274 #ifdef HAVE_DXR2
275 {"dxr2", &dxr2_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
276 #endif
279 //---------------------- mplayer-only options ------------------------
281 #ifdef CRASH_DEBUG
282 {"crash-debug", &crash_debug, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
283 {"nocrash-debug", &crash_debug, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
284 #endif
285 {"osdlevel", &osd_level, CONF_TYPE_INT, CONF_RANGE, 0, 3, NULL},
286 {"osd-duration", &osd_duration, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
287 #ifdef HAVE_MENU
288 {"menu", &use_menu, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
289 {"nomenu", &use_menu, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
290 {"menu-root", &menu_root, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
291 {"menu-cfg", &menu_cfg, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
292 {"menu-startup", &menu_startup, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
293 #else
294 {"menu", "OSD menu support was not compiled in.\n", CONF_TYPE_PRINT,0, 0, 0, NULL},
295 #endif
297 // these should be moved to -common, and supported in MEncoder
298 {"vobsub", &vobsub_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
299 {"vobsubid", &vobsub_id, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
301 {"sstep", &step_sec, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
303 {"framedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 0, 1, NULL},
304 {"hardframedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 0, 2, NULL},
305 {"noframedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 1, 0, NULL},
307 {"autoq", &auto_quality, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
309 {"benchmark", &benchmark, CONF_TYPE_FLAG, 0, 0, 1, NULL},
311 // dump some stream out instead of playing the file
312 // this really should be in MEncoder instead of MPlayer... -> TODO
313 {"dumpfile", &stream_dump_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
314 {"dumpaudio", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 1, NULL},
315 {"dumpvideo", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 2, NULL},
316 {"dumpsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 3, NULL},
317 {"dumpmpsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 4, NULL},
318 {"dumpstream", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 5, NULL},
319 {"dumpsrtsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 6, NULL},
320 {"dumpmicrodvdsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 7, NULL},
321 {"dumpjacosub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 8, NULL},
322 {"dumpsami", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 9, NULL},
324 #ifdef HAVE_LIRC
325 {"lircconf", &lirc_configfile, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
326 #endif
328 {"gui", "The -gui option will only work as first commandline argument.\n", CONF_TYPE_PRINT, 0, 0, 0, (void *)1},
329 {"nogui", "The -nogui option will only work as first commandline argument.\n", CONF_TYPE_PRINT, 0, 0, 0, (void *)1},
331 #ifdef HAVE_NEW_GUI
332 {"skin", &skinName, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
333 {"enqueue", &enqueue, CONF_TYPE_FLAG, 0, 0, 1, NULL},
334 {"noenqueue", &enqueue, CONF_TYPE_FLAG, 0, 0, 0, NULL},
335 {"guiwid", &guiWinID, CONF_TYPE_INT, 0, 0, 0, NULL},
336 #endif
338 {"noloop", &loop_times, CONF_TYPE_FLAG, 0, 0, -1, NULL},
339 {"loop", &loop_times, CONF_TYPE_INT, CONF_RANGE, -1, 10000, NULL},
340 {"playlist", NULL, CONF_TYPE_STRING, 0, 0, 0, NULL},
342 // a-v sync stuff:
343 {"correct-pts", &correct_pts, CONF_TYPE_FLAG, 0, 0, 1, NULL},
344 {"no-correct-pts", &correct_pts, CONF_TYPE_FLAG, 0, 1, 0, NULL},
345 {"noautosync", &autosync, CONF_TYPE_FLAG, 0, 0, -1, NULL},
346 {"autosync", &autosync, CONF_TYPE_INT, CONF_RANGE, 0, 10000, NULL},
347 // {"dapsync", &dapsync, CONF_TYPE_FLAG, 0, 0, 1, NULL},
348 // {"nodapsync", &dapsync, CONF_TYPE_FLAG, 0, 1, 0, NULL},
350 {"softsleep", &softsleep, CONF_TYPE_FLAG, 0, 0, 1, NULL},
351 #ifdef HAVE_RTC
352 {"nortc", &nortc, CONF_TYPE_FLAG, 0, 0, 1, NULL},
353 {"rtc", &nortc, CONF_TYPE_FLAG, 0, 0, 0, NULL},
354 {"rtc-device", &rtc_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
355 #endif
357 {"term-osd", &term_osd, CONF_TYPE_FLAG, 0, 0, 1, NULL},
358 {"noterm-osd", &term_osd, CONF_TYPE_FLAG, 0, 0, 0, NULL},
359 {"term-osd-esc", &term_osd_esc, CONF_TYPE_STRING, 0, 0, 1, NULL},
360 {"playing-msg", &playing_msg, CONF_TYPE_STRING, 0, 0, 0, NULL},
362 {"slave", &slave_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
363 {"idle", &player_idle_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
364 {"noidle", &player_idle_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 0, NULL},
365 {"use-stdin", "-use-stdin has been renamed to -noconsolecontrols, use that instead.", CONF_TYPE_PRINT, 0, 0, 0, NULL},
366 {"key-fifo-size", &key_fifo_size, CONF_TYPE_INT, CONF_RANGE, 2, 65000, NULL},
367 {"noconsolecontrols", &noconsolecontrols, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
368 {"consolecontrols", &noconsolecontrols, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 0, NULL},
370 #define MAIN_CONF
371 #include "cfg-common.h"
372 #undef MAIN_CONF
374 {"list-properties", &list_properties, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
375 {"identify", &mp_msg_levels[MSGT_IDENTIFY], CONF_TYPE_FLAG, CONF_GLOBAL, 0, MSGL_V, NULL},
376 {"-help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
377 {"help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
378 {"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
380 {"vd", vd_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
381 {NULL, NULL, 0, 0, 0, 0, NULL}