diff options
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); + |