[Serusers] re: return codes from exported functions in ser.cfg

Gandhi, Jignesh Jignesh.Gandhi at Glenayre.com
Thu Dec 2 18:33:54 CET 2004


Hello all,

I have written a custom modules and am thinking about returning not just -1
on 
error but different values if I can handle them differently in the ser.cfg. 

I know that I can do the following....

if (!function_a())
{
    do something;
}
else
{
    do something else;
}

But I want to do store the return value of  "function_a" and do different
stuff
depending on the return value.

Is this possible ?

thanks for any help in advance.

Jignesh Gandhi
Software Engineer II




More information about the sr-users mailing list