projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: coding style fixes (structure naming)
[bertos.git]
/
bertos
/
io
/
kblock_ram.h
diff --git
a/bertos/io/kblock_ram.h
b/bertos/io/kblock_ram.h
index b003a601ba662c10da85bf23d599c55a778e88f9..2b518901599880b933d0d25e2e035168a2bcf44f 100644
(file)
--- a/
bertos/io/kblock_ram.h
+++ b/
bertos/io/kblock_ram.h
@@
-30,11
+30,13
@@
*
* -->
*
*
* -->
*
- * \author Francesco Sacchi <batt@develer.com>
- *
* \brief KBlock interface
* \brief KBlock interface
+ *
+ * \author Francesco Sacchi <batt@develer.com>
*/
*/
+#ifndef KBLOCK_RAM_H
+#define KBLOCK_RAM_H
#include "kblock.h"
#include "kblock.h"
@@
-54,3
+56,6
@@
INLINE KBlockRam *KBLOCKRAM_CAST(KBlock *b)
return (KBlockRam *)b;
}
return (KBlockRam *)b;
}
+void kblockram_init(KBlockRam *ram, void *buf, size_t size, size_t block_size, bool buffered, bool hwbuffered);
+
+#endif /* KBLOCK_RAM_H */