summaryrefslogtreecommitdiff
path: root/src/utils/env.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-27 23:36:53 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-27 23:36:53 +0300
commitb2e94802333247f64369c1164215d26583abda20 (patch)
tree1721dc1f97f6c27f8b3d2bcae81a854573a281c5 /src/utils/env.h
parent610b13d188cd3faf99b971eea58594b336a57edd (diff)
downloadplus-b2e94802333247f64369c1164215d26583abda20.tar.gz
plus-b2e94802333247f64369c1164215d26583abda20.tar.bz2
plus-b2e94802333247f64369c1164215d26583abda20.tar.xz
plus-b2e94802333247f64369c1164215d26583abda20.zip
Move environment functions into separate file.
Diffstat (limited to 'src/utils/env.h')
-rw-r--r--src/utils/env.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/utils/env.h b/src/utils/env.h
new file mode 100644
index 000000000..8619ee375
--- /dev/null
+++ b/src/utils/env.h
@@ -0,0 +1,30 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2011-2015 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * 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/>.
+ */
+
+#ifndef UTILS_ENV_H
+#define UTILS_ENV_H
+
+#include "localconsts.h"
+
+void setEnv(const char *const name, const char *const value);
+
+void updateEnv();
+
+#endif // UTILS_ENV_H