diff -Naur -x CVS -x .* main/libvo2/libvo2.h main-patch/libvo2/libvo2.h --- main/libvo2/libvo2.h Tue Jul 31 02:24:28 2001 +++ main-patch/libvo2/libvo2.h Wed Nov 7 07:05:32 2001 @@ -46,6 +46,13 @@ int bpp; // bits per pixel (15/16/24/32) or YUV fourcc } vo2_surface_t; +typedef struct { + char **options; //Data (see below example { "XRes", "YRes", "Devicename" } + char *type; //Type of every member of data, say { "w", "w", "s" } w= word = 16bit If I remember correctly + void *value; //would look something like this "0280001E/dev/video\0" + int n_options; //int the above example this would be = 3 +} vo2_device_config_t; + typedef struct vo2_functions_s { // control (get/set/query) device parameters