Type representing a boolean. More...
Go to the source code of this file.
Functions | |
int | bool_he_toggle (struct ConfigSubset *sub, struct HashElem *he, struct Buffer *err) |
Toggle the value of a bool. | |
int | bool_str_toggle (struct ConfigSubset *sub, const char *name, struct Buffer *err) |
Toggle the value of a bool. | |
Variables | |
const char * | BoolValues [] |
Valid strings for creating a Bool. | |
Type representing a boolean.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file bool.h.
int bool_he_toggle | ( | struct ConfigSubset * | sub, |
struct HashElem * | he, | ||
struct Buffer * | err | ||
) |
Toggle the value of a bool.
num | Result, e.g. CSR_SUCCESS |
Definition at line 196 of file bool.c.
int bool_str_toggle | ( | struct ConfigSubset * | sub, |
const char * | name, | ||
struct Buffer * | err | ||
) |
Toggle the value of a bool.
sub | Config Subset |
name | Name of config item |
err | Buffer for error messages |
num | Result, e.g. CSR_SUCCESS |
Definition at line 224 of file bool.c.