Hi all,

I'm working on the file "router.c", in the router component. I would like to log the entire value of the nad, in the _router_sx_callback function to study it in a first time. I've found this function header :

   void nad_print(nad_t nad, int elem, char **xml, int *len)

but I don't understand why I would have to specify 'elem' and how I could know the length "len". I would like to print all the nad, not just one elem. And does someone know how I could get the value of 'len' ?

I have a nad, and I want a char*, so passing the length is ok, but an element....don't understand.

Best regards and many thanks for feedback,

--
Remy Harel - [EMAIL PROTECTED]
G.I.C.M - Distributed Systems & IT
Linux Registered User #224740



_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
https://jabberstudio.org/mailman/listinfo/jdev

Reply via email to