Extending the Agent

This is a discussion on Extending the Agent within the SNMP Coders forums, part of the Networking and Network Related category; I installed net-snmp-5.2.1 in windows with VC ++. I didnt install PSDK. The agent configuration went well. ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-23-2005
aakansha rajvi
 
Posts: n/a
Default Extending the Agent

I installed net-snmp-5.2.1 in windows with VC ++.
I didnt install PSDK.

The agent configuration went well. Now I would like to extend the agent.
I placed my compiled mibs ie., my.c and my.h in the agent/mibgroup

Then I edited the 'win32\mib_module_includes.h' file to add an include
to my.h file.

#include "mibgroup/my.h"

- Next edited the 'win32\mib_module_inits.h' file to add
code to call your initialize function.

if (should_init("my")) init_my();


...\mib_module_inits.h(117) : warning C4013: 'init_my' undefined; assu
ming extern returning int

Could anyone pls help me on this?

Thanks


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:50 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0