diff src/sys.h @ 31:80f008ce2079

core: add base dir
author David Demelier <markand@malikania.fr>
date Sun, 12 Jan 2020 21:05:42 +0100
parents bc9637a2601b
children 91bc2329ab0c
line wrap: on
line diff
--- a/src/sys.h	Mon Jan 13 12:36:56 2020 +0100
+++ b/src/sys.h	Sun Jan 12 21:05:42 2020 +0100
@@ -33,6 +33,14 @@
 sys_init(void);
 
 /**
+ * Get the base system directory path.
+ *
+ * \return the path
+ */
+const char *
+sys_datadir(void);
+
+/**
  * Close the system.
  */
 void