Thanks, Weiter. Now I can see this clearly.
 
The lines you showed me has been taken from api.h, from the SER package. In OpenSER this lines are quite different. post_auth_f is not longer called post_auth_f. In OpenSER I can see the new names are post_auth_t and pre_auth_t.
 
Thanks a lot.
 
Victoria
 
 
 
----- Original Message -----
From: "Weiter Leiter" <bp4mls@googlemail.com>
To: <users@openser.org>; <openser@conexiongroup.com>
Sent: Monday, July 24, 2006 11:54 PM
Subject: [Users] pre_auth_f and post_auth_f

> ./modules/auth/api.h:63 says:
>>>
> /*
> * Purpose of this function is to do post authentication steps like
> * marking authorized credentials and so on.
> */
> typedef auth_result_t (*post_auth_f)(struct sip_msg* _m, struct
> hdr_field* _h, str* _rpid);
> <<
>
> WL.
>
>
>
> Hello guys.
>
>   I've some trouble for compiling a module originallly written for SER
> (Works fine on SER 0.9.6). The lines below belongs to the code I'm talking
> about:
>
> pre_auth_f pre_auth func = 0;
> post_auth_f post_auth_func = 0;
>
>   The problem is that I couldn't find the definition (neither gcc) of the
> post_auth_f and post_auth_f types. I've search in all the files of openser
> core sources and all the modules sources.
>
> Have you any idea about where is they defined?
>
> Thanks in advance.
>
> Victoria
>
>
> _______________________________________________
> Users mailing list
>
Users@openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users