Hi,
I think there is also a module (gflags) which allows more flags (not sure), and that has a
fifo interface. I think it is not completely finished, but may work.
The description of it in the c file:
* gflags module: global flags; it keeps a bitmap of flags
* in shared memory and may be used to change behaviour
* of server based on value of the flags. E.g.,
* if (is_gflag("1")) { t_relay_to_udp("10.0.0.1","5060");
}
* else { t_relay_to_udp("10.0.0.2","5060"); }
* The benefit of this module is the value of the switch flags
* can be manipulated by external applications such as web interface
* or command line tools.
Cesc
>> Iqbal <iqbal(a)gigo.co.uk> 05/03/05
07:43PM >>>
so if I want to set more than 31 flags, what do I do
Iqbal
Cesc Santasusana wrote:
no ... flags are stored in a 32-bit integer, each flag
being one of the bits (set or reset), so u have flags 0 to 31 to set.
cesc
>>Iqbal <iqbal(a)gigo.co.uk> 05/03/05
05:08PM >>>
>>
>>
Hi
Is there a max number, I set one at 51, and got an error, is this a
feature..
Iqbal
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers Unclassified
.