what is "dvbpsi_pat_callback" ?

"htyoung" <[email protected]>
Newsgroups gmane.comp.video.videolan.libdvbpsi.devel
Message-ID <002f01c48bc6$a1c1e1c0$b637d852__17343.4757315137$1093563931$gmane$org@htyoung>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.