<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial size=2>Thanks, Weiter. Now I can see this
clearly.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The lines you showed me has been taken from
<STRONG>api.h</STRONG>, <STRONG>from the SER package</STRONG>. In OpenSER this
lines are quite different. <STRONG>post_auth_f</STRONG> is not longer called
<STRONG>post_auth_f</STRONG>. In OpenSER I can see the new names are
<STRONG>post_auth_t</STRONG> and <STRONG>pre_auth_t</STRONG>.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks a lot.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Victoria</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>----- Original Message ----- </FONT>
<DIV><FONT face=Arial size=2>From: "Weiter Leiter" <</FONT><A
href="mailto:bp4mls@googlemail.com"><FONT face=Arial
size=2>bp4mls@googlemail.com</FONT></A><FONT face=Arial size=2>></FONT></DIV>
<DIV><FONT face=Arial size=2>To: <</FONT><A
href="mailto:users@openser.org"><FONT face=Arial
size=2>users@openser.org</FONT></A><FONT face=Arial size=2>>; <</FONT><A
href="mailto:openser@conexiongroup.com"><FONT face=Arial
size=2>openser@conexiongroup.com</FONT></A><FONT face=Arial
size=2>></FONT></DIV>
<DIV><FONT face=Arial size=2>Sent: Monday, July 24, 2006 11:54 PM</FONT></DIV>
<DIV><FONT face=Arial size=2>Subject: [Users] pre_auth_f and
post_auth_f</FONT></DIV></DIV>
<DIV><FONT face=Arial><BR><FONT size=2></FONT></FONT></DIV><FONT face=Arial
size=2>> ./modules/auth/api.h:63 says:<BR>>>><BR>>
/*<BR>> * Purpose of this function is to do post authentication steps
like<BR>> * marking authorized credentials and so
on.<BR>> */<BR>> typedef auth_result_t (*post_auth_f)(struct sip_msg*
_m, struct<BR>> hdr_field* _h, str* _rpid);<BR>> <<<BR>> <BR>>
WL.<BR>> <BR>> <BR>> <BR>> Hello guys.<BR>> <BR>>
I've some trouble for compiling a module originallly written for SER<BR>>
(Works fine on SER 0.9.6). The lines below belongs to the code I'm
talking<BR>> about:<BR>> <BR>> pre_auth_f pre_auth func = 0;<BR>>
post_auth_f post_auth_func = 0;<BR>> <BR>> The problem is that
I couldn't find the definition (neither gcc) of the<BR>> post_auth_f and
post_auth_f types. I've search in all the files of openser<BR>> core sources
and all the modules sources.<BR>> <BR>> Have you any idea about where is
they defined?<BR>> <BR>> Thanks in advance.<BR>> <BR>>
Victoria<BR>> <BR>> <BR>>
_______________________________________________<BR>> Users mailing
list<BR>> </FONT><A href="mailto:Users@openser.org"><FONT face=Arial
size=2>Users@openser.org</FONT></A><BR><FONT face=Arial size=2>> </FONT><A
href="http://openser.org/cgi-bin/mailman/listinfo/users"><FONT face=Arial
size=2>http://openser.org/cgi-bin/mailman/listinfo/users</FONT></A></BODY></HTML>