do there exist scalar and table set and get function

"Clement Hsu" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Dear All:

I am clement. I meet a problem about scalar/table set and get function or
api.
My system is net-snmp 5.3.1 and my mib2c option choose net-snmp template.
the code is like following:


case MODE_SET_ACTION:

   .........

        if ( testScalarSet(data) ) {
            netsnmp_set_request_error(reqinfo, requests,SNMP_ERR_GENERR);
        }

In fact , I need to write a function of testScalarSet(data) to check and set
data, however, does there
exist any api or function which net-snmp given can set or get scalar / table
value? And I does not imply
snmp_set_var_typed_value( ), I mean another function which can get/set in
temporary, and then write back
to system.

Thank you.

Best Regards,
Clement Hsu

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.