diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2016-01-04 03:56:13 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2016-01-04 03:56:13 +0100 |
commit | 929fddac2b95656a962fd3e7c53dbd1907f914d6 (patch) | |
tree | c0f2963c1675abf43e1507cbb039060aeafb7d44 /src/state.h | |
parent | haiku (diff) | |
download | radharc-929fddac2b95656a962fd3e7c53dbd1907f914d6.tar.gz radharc-929fddac2b95656a962fd3e7c53dbd1907f914d6.tar.bz2 radharc-929fddac2b95656a962fd3e7c53dbd1907f914d6.tar.xz |
automatic selection of RADHARC_STATE
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r-- | src/state.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/state.h b/src/state.h index cd4cef6..bcb271b 100644 --- a/src/state.h +++ b/src/state.h @@ -14,6 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include "settings.h" @@ -63,3 +64,11 @@ enum darkness { */ enum darkness get_darkness(double elevation); +/** + * Set $RADHARC_STATE. + * + * @param settings The settings. + * @return 0 on success, -1 on error. + */ +int get_state_pathname(struct settings *settings); + |