1 2 typedef struct S_XAVID_FUNC_HDR 3 { 4 xaULONG what; 5 xaULONG id; 6 xaLONG (*iq_func)(); /* init/query function */ 7 xaULONG (*dec_func)(); /* opt decode function */ 8 } XAVID_FUNC_HDR; 9 10 #define XAVID_WHAT_NO_MORE 0x0000 11 #define XAVID_AVI_QUERY 0x0001 12 #define XAVID_QT_QUERY 0x0002 13 #define XAVID_DEC_FUNC 0x0100 14 15 #define XAVID_API_REV 0x0003 16 17 typedef struct 18 { 19 xaULONG api_rev; 20 char *desc; 21 char *rev; 22 char *copyright; 23 char *mod_author; 24 char *authors; 25 xaULONG num_funcs; 26 XAVID_FUNC_HDR *funcs; 27 } XAVID_MOD_HDR; 28 29 30 31