comparison libmlk-core/core/sys.h @ 298:196264679079

misc: remove usage of bool
author David Demelier <markand@malikania.fr>
date Wed, 10 Mar 2021 18:49:08 +0100
parents 08ab73b32832
children d01e83210ca2
comparison
equal deleted inserted replaced
297:6151152d009c 298:196264679079
18 18
19 #ifndef MOLKO_CORE_SYS_H 19 #ifndef MOLKO_CORE_SYS_H
20 #define MOLKO_CORE_SYS_H 20 #define MOLKO_CORE_SYS_H
21 21
22 #include <stdarg.h> 22 #include <stdarg.h>
23 #include <stdbool.h>
24 23
25 #include "core.h" 24 #include "core.h"
26 25
27 enum sys_dir { 26 enum sys_dir {
28 SYS_DIR_BIN, 27 SYS_DIR_BIN,
31 SYS_DIR_SAVE, 30 SYS_DIR_SAVE,
32 }; 31 };
33 32
34 CORE_BEGIN_DECLS 33 CORE_BEGIN_DECLS
35 34
36 bool 35 int
37 sys_init(const char *organization, const char *name); 36 sys_init(const char *, const char *);
38 37
39 const char * 38 const char *
40 sys_dir(enum sys_dir kind); 39 sys_dir(enum sys_dir);
41 40
42 bool 41 int
43 sys_mkdir(const char *path); 42 sys_mkdir(const char *);
44 43
45 void 44 void
46 sys_finish(void); 45 sys_finish(void);
47 46
48 CORE_END_DECLS 47 CORE_END_DECLS