projects
/
framework
/
uifw
/
cbhm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
init upload
[framework/uifw/cbhm.git]
/
src
/
storage.h
1
#ifndef _storage_h_
2
#define _storage_h_
3
4
#include <sys/types.h>
5
#include <sys/stat.h>
6
#include <fcntl.h>
7
#include <sys/mman.h>
8
9
int init_storage();
10
int sync_storage();
11
unsigned int get_storage_serial_code();
12
int adding_item_to_storage(int pos, char *data);
13
char *get_storage_start_addr();
14
int get_item_counts();
15
char *get_item_contents_by_pos(int pos);
16
int close_storage();
17
18
#endif // _storage_h_