# FIFO Interface

The state of the global flags can be read and modified over the FIFO interface of &kamailio;. This module implements the following FIFO interface functions:

- set_gflag - Set the value of a flag to 1. The function accepts one parameter which is the number of the flag to be set.

- reset_gflag - Reset the value of a flag to 0. The function accepts one parameter which is the number of the flag to be reset.

- is_gflag - Return the status of a flag. The FIFO function would return TRUE if the flag is set and FALSE if it is not set. The only parameter of this function is the number of the flag.