what is "dvbpsi_pat_callback" ?

htyoung htyoung at 21cn.com
Fri Aug 27 01:44:26 CEST 2004


Hi,

I read the source "decode_pat.c"
there is a line that is  "h_dvbpsi = dvbpsi_AttachPAT(DumpPAT, NULL);"
here, DumpPAT is a type "dvbpsi_pat_callback"
I found the define in pat.h
typedef void (* dvbpsi_pat_callback)(void* p_cb_data, dvbpsi_pat_t* p_new_pat);

but I don't understand how "dvbpsi_pat_callback" work in the program.

Any help welcome.

Young
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.videolan.org/pipermail/libdvbpsi-devel/attachments/20040827/d199102c/attachment.htm 


More information about the libdvbpsi-devel mailing list