Hi, all

I have a question about the loadable module (shared object) support.
I have to attach to some shared memory on initialization. If the memory does not exist I must not create it. In this case some kind of error shall be reported to the snmp daemon and the module shall not be loaded.
The problem is that I cant figure out how to report an error from the init function. It returns void and does not have parameters. When I load the object (through UCD-DLMOD-MIB) the dlmodTable is filled and the status is "loaded", no matter if the initialization succeeded or not.


Thanks in advance for the help.
* *


------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ 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

Reply via email to