Get the value of a boolean config variable.
This function uses the usual C convention of 0 being false and anything else true.
All config files will be looked into, in the order of their defined level. A higher level means a higher priority. The first occurrence of the variable will be returned here.
pointer to the variable where the value should be stored
the variable's name
0 or an error code