
Hi, We are using libsmi to develop a snmp extension agent. We are students and we need some orientation to do this. (sorry, this is not a libsmi specific question)
We have develop a extension agent in MSVC++ which reads MIBs in Asn.1 with libsmi but know we have to communicate our extension agent with other processes. This processes have to change the MIB's values. We want to know what is the common form to do this because we have a lot of problems sharing the MIB with the other processes (they create a new instance of the object Mib). Our Mib is a collection of MibEntry:
class MibEntry { public: // Atributes UINT access; BYTE type; void* storage; AsnObjectIdentifier oid; MibEntry* next; ResolveStrategy *resolveStrategy;
// Methods MibEntry(); virtual ~MibEntry(); UINT resolveGet(IN OUT RFC1157VarBind *varBind); UINT resolveHardGet(IN OUT RFC1157VarBind *varBind); UINT resolveSet(IN OUT RFC1157VarBind *varBind); UINT resolveHardSet(IN OUT RFC1157VarBind *varBind); };
This is not a question of libsmi... sorry but we are desperate.
Thanks a lot.
_________________________________________________________________ MSN Photos es la manera más sencilla de compartir e imprimir sus fotos: http://photos.latam.msn.com/Support/WorldWide.aspx