Ok, I will reply to my own question. The problem is solved,it was a very
stupid mistake.The function call was outside of any other function. This
is the result of overtired coding.
Stefan
Stefan Wolf wrote:
> Hello,
>
> I try to use the function snmp_alarm_register as follows:
>
>
> #define
On 10/10/2007, Stefan Wolf <[EMAIL PROTECTED]> wrote:
> I try to use the function snmp_alarm_register as follows:
[snip]
Yup - that looks reasonable.
> When I try to compile it, I get the follwing message:
> management_conn.c:40: error: initializer element is not constant
>
> Where line 40 i
Hello,
I try to use the function snmp_alarm_register as follows:
#define TIMEOUTHW 10
int pingAlarmHandle;
/* the callback function */
void pingHw(unsigned int regPing, void *clientargs){
DEBUGMSGTL(("MANCONN", "PING"));
}
pingAlarmHandle = snmp_alarm_register(TIMEOUTHW, SA_REPEAT, pi