MCPcopy Create free account
hub / github.com/ClusterLabs/pacemaker / check_boolean

Function check_boolean

lib/common/utils.c:113–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113gboolean
114check_boolean(const char *value)
115{
116 int tmp = FALSE;
117
118 if (crm_str_to_boolean(value, &tmp) != 1) {
119 return FALSE;
120 }
121 return TRUE;
122}
123
124gboolean
125check_number(const char *value)

Callers

nothing calls this directly

Calls 1

crm_str_to_booleanFunction · 0.85

Tested by

no test coverage detected