projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add some fuction to read block from sd using dmac.
[bertos.git]
/
bertos
/
mware
/
ini_reader.h
diff --git
a/bertos/mware/ini_reader.h
b/bertos/mware/ini_reader.h
index 3e66028ee05bb0ad9bda27fe2fc58fd23895ef7a..855365c2e7b0f2439db5480703a3d576b0894cca 100644
(file)
--- a/
bertos/mware/ini_reader.h
+++ b/
bertos/mware/ini_reader.h
@@
-30,6
+30,10
@@
*
* -->
*
*
* -->
*
+ * \defgroup ini_reader Ini file reader
+ * \ingroup mware
+ * \{
+ *
* \brief Ini file reader module.
*
* The format accepted is:
* \brief Ini file reader module.
*
* The format accepted is:
@@
-40,14
+44,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
+71,9
@@
*/
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);
+
+/** \} */ // defgroup ini_reader
#endif /* INI_READER_H */
#endif /* INI_READER_H */