<DIV id=RTEContent>  <DIV id=RTEContent>Hy all,</DIV>  <DIV> </DIV>  <DIV>I am developing a custom module and I am a bit lost with the code. I am not a C programmer so sorry if my question is very stupid.</DIV>  <DIV> </DIV>  <DIV>I want to extract the differents A/V pairs contained in the Access-Request packets and check if any of them is the attribute "Connect-Info". In that case I would like to pass the value of the "Connect-Info" attribute to a function called auxiliar. </DIV>  <DIV>Here is my code:</DIV>  <DIV> </DIV>  <DIV>static int auxiliar (char * value) { ..... }</DIV>  <DIV> </DIV>  <DIV>static int mymodule_authorize (void *instance, REQUEST *request) {</DIV>  <DIV>     ....</DIV>  <DIV> </DIV>  <DIV>     VALUE_PAIR *request_pairs;</DIV>  <DIV>     request_pairs=request->packet->vps;</DIV>  <DIV> </DIV>  <DIV>     VALUE_PAIR *aux = NULL;</DIV> 
 <DIV> </DIV>  <DIV>     char * Attribute_Name = NULL;</DIV>  <DIV>     char *Attribute_Value = NULL;</DIV>  <DIV>     int type = 0;</DIV>  <DIV> </DIV>  <DIV>     for ( aux=request_pairs; aux; aux=aux->next)</DIV>  <DIV>     {</DIV>  <DIV>          Attribute_Name = aux->name;</DIV>  <DIV>          Attribute_Value = aux->strvalue;</DIV>  <DIV> </DIV>  <DIV>          if (aux->attribute == PW_CONNECT_INFO)</DIV>  <DIV>          {</DIV>  <DIV>               type=auxiliar(aux->strvalue); /* is this correct? I mean, is aux->strvalue a char * type? */</DIV> 
 <DIV>          }</DIV>  <DIV> </DIV>  <DIV>          .....</DIV>  <DIV>     }</DIV>  <DIV> </DIV>  <DIV> </DIV>  <DIV> </DIV>  <DIV>Am I on the right track?</DIV>  <DIV> </DIV>  <DIV>Thank you a lot for your help and best regards</DIV></DIV><p>
                <hr size=1><br><font face="Verdana" size="-2">LLama Gratis a cualquier PC del Mundo.<br>Llamadas a fijos y moviles desde 1 centimo por minuto.<br><a href="http://us.rd.yahoo.com/mail/es/tagline/messenger/*http://es.voice.yahoo.com/">http://es.voice.yahoo.com</a></font>