Re: Using other MIB scalars in a GET

2005-01-21 Thread Ricardo Luis A. Abrantes
> The easiest way is to implement both in the same file, and simply refer > to the > C variable from one in the other. If they aren't in the same C file, > then > import the variable ('extern' decl) or provide a simple function to get > the > value. Very simple, thanks a lot! --

Re: Using other MIB scalars in a GET

2005-01-20 Thread Robert Story
On Mon, 17 Jan 2005 13:47:09 -0100 (EDT) Ricardo wrote: RLAA> I have two variables in my MIB definition, one is writable (represents RLAA> the number of a link), and the other is read-only (represents the status RLAA> of a link). In the handler's code for the link status variable (into the RLAA> GE

Re: Using other MIB scalars in a GET

2005-01-19 Thread Wes Hardaker
> On Mon, 17 Jan 2005 13:47:09 -0100 (EDT), "Ricardo Luis A. Abrantes" > <[EMAIL PROTECTED]> said: Ricardo> I have two variables in my MIB definition, one is writable Ricardo> (represents the number of a link), and the other is read-only Ricardo> (represents the status of a link). In the

Using other MIB scalars in a GET

2005-01-17 Thread Ricardo Luis A. Abrantes
Hello, I have two variables in my MIB definition, one is writable (represents the number of a link), and the other is read-only (represents the status of a link). In the handler's code for the link status variable (into the GET section) I need to access the other variable (link number) to know what