Robert> It is a pointer to a function that creates a transport from a transport Robert> specifier string. Take a look at how the snmp*Domain.c files work.
Pedro> Thanks for the explanation. However, i still not find the body of the Pedro> function. The same thing applies here too. There is no function called "f_create_from_tstring". It's a pointer that *refers* to a function. The actual functions are things like netsnmp_udp_create_tstring netsnmp_ipx_create_tstring netsnmp_unix_create_tstring etc. So when the library needs to call the "function" f_create_from_tstring, it will retrieve the corresponding function pointer from the data structure that it's working with, and call that function. Pedro> Where is it defined? Or should i implement the body of the Pedro> function? No - you don't need to implement this function. Not unless you need to support a new transport mechanism. What are you actually trying to do? You seem to be investigating the detailed internals of the library. All of this has already been put in place for you, and you shouldn't really be seeking to change things unless you are very clear about how things work. Dave ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users