Implementing persistant data.

<[email protected]> Mon, 13 Feb 2006 16:12:47 +0530
Newsgroups gmane.network.net-snmp.announce
Message-ID <[email protected]>
This is a multi-part message in MIME format.

------_=_NextPart_001_01C6308A.3AF62838
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi All ,

I was trying to implement persistant data in net-snmp . I just want to =
read the data from my custom config file .

I am using the function
register_config_handler("filename","token name" , ptr to parser function =
,  NULL , NULL );

As soon as it reads the token from the file given , it has to call the =
parser function which will get the token and its value as its paramters =
. But in my code the parser function is not being called at all .


Need help from any1 who has worked on the same .


Regards,
Vikas







------_=_NextPart_001_01C6308A.3AF62838
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7638.1">
<TITLE>Implementing persistant data.</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>Hi All ,<BR>
<BR>
I was trying to implement persistant data in net-snmp . I just want to =
read the data from my custom config file .<BR>
<BR>
I am using the function<BR>
register_config_handler(&quot;filename&quot;,&quot;token name&quot; , =
ptr to parser function ,&nbsp; NULL , NULL );<BR>
<BR>
As soon as it reads the token from the file given , it has to call the =
parser function which will get the token and its value as its paramters =
. But in my code the parser function is not being called at all .<BR>
<BR>
<BR>
Need help from any1 who has worked on the same .<BR>
<BR>
<BR>
Regards,<BR>
Vikas<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C6308A.3AF62838--


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642