>-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf >Of ext Marcin Michalak >Sent: 17. maaliskuuta 2006 19:35 >To: [email protected] >Subject: [Sofia-sip-devel] NTA_OUTGOING_MAGIC_T structure? > >Hi, > I wanted to ask whether there is any special requirements for the >NTA_OUTGOING_MAGIC_T structure? Does it need to contain some certain >fields or am I free to choose whatever is inside?
Hey, All the MAGIC parameters / structures in Sofia are free for user to define. The idea is to pass structures from the calling application / layer to lower layers in the stack without lower layer to know contents of the structure (== to hide data fields). So, to answer your question, you are free to choose the contents of NTA_OUTGOING_MAGIC_T. Please refer to test_nta.c for how to define NTA_OUTGOING_MAGIG_T in the calling application and how to use it in the agent_callback() function, for example. Great weekend for you, too! Martti ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Sofia-sip-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
