Re: How to register a octect stream?

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 13/07/06, Manuel Cano Muñoz <[email protected]> wrote:
>
>  netsnmp_handler_registration * reg = netsnmp_create_handler_registration(
>  "nstAgentSubagentString", NULL,
>  nstAgentSubagentString_oid, OID_LENGTH(nstAgentSubagentString_oid),
>  HANDLER_CAN_RONLY);
>


A little more context, please.   It's impossible to reliably debug
programming
problems from individual lines of code.

The only possibility that springs to mind is if this line (a combined
declaration
and assignment) comes in the middle of various other assignments, etc.
Strictly
speaking, all the declarations should come first, before any executable
statements.
Sometimes you can get away with mix-n-matching, depending on how fussy the
compiler is feeling.


But that's a complete guess, because you've provided minimal information as
to what you're actually doind.   This does make providing support
significantly
harder :-(


It gives me the same error even if I put only:
>
>  netsnmp_handler_registration;
>

Well, that's a bogus statement anyway, so I'm not surprised it throws an
error!

Dave


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
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.