Difference between revisions of "Talk:TUT:Simple Async Application"

From Net-SNMP Wiki
Jump to: navigation, search
(No difference)

Revision as of 21:09, 26 February 2010

Is it bug??

/*
  * a list of variables to query for
  */
 struct oid {
   char *Name;
   oid Oid[MAX_OID_LEN];
   int OidLen;
 } oids[] = {
   { "system.sysDescr.0" },
   { "interfaces.ifNumber.1" },
   { "interfaces.ifNumber.0" },
   { NULL }
 };

The name of the structure and the type of the second field have the same names. Is it possible??