[AGENT++] tables within tables

Marcos Cacabelos Prol marcoscp at meta4.com
Wed May 5 14:29:18 CEST 2004


In chapter 9 of Understanding snmp mibs, the authors try to represent the following C struc in a mib:
	struct{
		int i;
		int ai[20];
	}t1[40];

The SMI is very large to reproduce here. 
I'm trying to write code to represent similar structures.

Marcos

-----Original Message-----
From: Henning Eggers [mailto:henning.eggers at plath.de]
Sent: miércoles 5 de mayo de 2004 13:19
To: Marcos Cacabelos Prol; agentpp at agentpp.org
Subject: Re: [AGENT++] tables within tables


Am Mittwoch, 5. Mai 2004 10:57 schrieb Marcos Cacabelos Prol:
> 	/* pseudocode */
> 	MibTable a;
> 	MibTable b;
>
> 	a.add_col(b);
>
> How I can write this code?
> Thanks in advance.

What does the SMI code look like that is supposed to describe this structure? 
I have never  heard of tables within tables...

Greetings,
Henning




More information about the AGENTPP mailing list