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