Re: [mib2c .c code] code for MODE_SET_ACTION

2008-05-17 Thread Dave Shield
2008/5/15 CHAHIBI Samira <[EMAIL PROTECTED]>: > I have run mib2c and obtained my .c and .h files. I have one single RW > scalar variable named "id". Which mib2c template did you use? scalar or int_watch? Your requirements match the 'mib2c.int_watch.conf' template almost exactly. That will hand

Re: [mib2c .c code] code for MODE_SET_ACTION

2008-05-15 Thread Wes Hardaker
> On Thu, 15 May 2008 16:59:19 +, CHAHIBI Samira <[EMAIL PROTECTED]> > said: CS> Hi all, CS> I have run mib2c and obtained my .c and .h files. I have one single RW scalar variable named "id". I I have completed the MODE_GET case by giving the pointor and lenght of "id". The problem

[mib2c .c code] code for MODE_SET_ACTION

2008-05-15 Thread CHAHIBI Samira
Hi all, I have run mib2c and obtained my .c and .h files. I have one single RW scalar variable named "id". I I have completed the MODE_GET case by giving the pointor and lenght of "id". The problem is that i don't know how to complete the MODE_SET_ACTION, all i want is to affect an integer value