Re: Set function in c/c++

Ashutosh Kumar <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <CAGikrZBhijidorao=scRGZijQ2xmF7p8mKAbw37mmVaJBTiQ9g@mail.gmail.com>
Hi Ryan,

I'd recommend you to go through the implementation of apps/snmpset.c
<https://github.com/haad/net-snmp/blob/master/apps/snmpset.c>that provides
the CLI functionality. Had a similar requirement for a project I was
working on around a year ago, and going through the CLI implementation
helped a lot .

Thanks,

Ashutosh

On Fri, Aug 2, 2019 at 10:29 PM Ryan Frost <[email protected]> wrote:

> Good morning,
>
> I’m not sure if this is the right email for this but I’m in need of help
> on a project. I have been using this library and am familiar with all the
> CLI commands but need to put it into code. The example and read_objid
> function is working and gets the status I want. Now I would like to set
> this objid value to something different, is there a function similar to
> read_objid that sets an OID value? If this is the wrong email could you
> please point me to the right one.
>
> Thanks,
>
> Ryan Frost
> _______________________________________________
> Net-snmp-coders mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
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.