Re: what is "dvbpsi_pat_callback" ?

"htyoung" <[email protected]>
Newsgroups gmane.comp.video.videolan.libdvbpsi.devel
Message-ID <001e01c48c49$4fc4df20$b637d852__25515.5512634248$1093620066$gmane$org@htyoung>
I found  the answer  by myself.
http://www.function-pointer.org/callback.html

young
  ----- Original Message ----- 
  From: htyoung 
  To: [email protected] 
  Sent: Friday, August 27, 2004 1:44 AM
  Subject: what is "dvbpsi_pat_callback" ?


  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.