Talk:TUT:Simple Async Application

From Net-SNMP Wiki
Revision as of 21:09, 26 February 2010 by Weird (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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??