projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sam3 pmc: add functions to handle peripheral clock enable/disable;
[bertos.git]
/
bertos
/
mware
/
ini_reader.h
diff --git
a/bertos/mware/ini_reader.h
b/bertos/mware/ini_reader.h
index 3e66028ee05bb0ad9bda27fe2fc58fd23895ef7a..377659be5904099c8d31c64507bc8c86ebde7694 100644
(file)
--- a/
bertos/mware/ini_reader.h
+++ b/
bertos/mware/ini_reader.h
@@
-40,14
+40,17
@@
* - no comments are allowed inside a line with key=value pair.
* - every line that doesn't contain a '=' or doesn't start with '[' will be ignored.
*
* - no comments are allowed inside a line with key=value pair.
* - every line that doesn't contain a '=' or doesn't start with '[' will be ignored.
*
- * \version $Id$
* \author Luca Ottaviano <lottaviano@develer.com>
* \author Luca Ottaviano <lottaviano@develer.com>
+ *
+ * $WIZ$ module_name = "ini_reader"
+ * $WIZ$ module_configuration = "bertos/cfg/cfg_ini_reader.h"
+ * $WIZ$ module_depends = "kfile"
*/
#ifndef INI_READER_H
#define INI_READER_H
*/
#ifndef INI_READER_H
#define INI_READER_H
-#include <
kern
/kfile.h>
+#include <
io
/kfile.h>
/**
* \brief Returns the value for the given string in char* format.
/**
* \brief Returns the value for the given string in char* format.
@@
-64,4
+67,7
@@
*/
int ini_getString(KFile *fd, const char *section, const char *key, const char *default_value, char *buf, size_t size);
*/
int ini_getString(KFile *fd, const char *section, const char *key, const char *default_value, char *buf, size_t size);
+int ini_reader_testSetup(void);
+int ini_reader_testRun(void);
+int ini_reader_testTearDown(void);
#endif /* INI_READER_H */
#endif /* INI_READER_H */