<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I read the source "decode_pat.c"</FONT></DIV>
<DIV><FONT face=Arial size=2>there is a line that is</FONT><FONT face=Arial
size=2> "h_dvbpsi = dvbpsi_AttachPAT(DumpPAT, NULL);"</FONT></DIV>
<DIV><FONT face=Arial size=2>here, DumpPAT is a type
"dvbpsi_pat_callback"</FONT></DIV>
<DIV><FONT face=Arial size=2>I found the define in pat.h</FONT></DIV>
<DIV><FONT face=Arial size=2>typedef void (* dvbpsi_pat_callback)(void*
p_cb_data, dvbpsi_pat_t* p_new_pat);</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>but I don't understand how "dvbpsi_pat_callback"
work in the program.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any help welcome.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Young</FONT></DIV>
<DIV><FONT face=Arial size=2> </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>