projects
/
visor
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moving fwd, very slowly
[visor]
/
libvisor
/
include
/
visor.h
diff --git
a/libvisor/include/visor.h
b/libvisor/include/visor.h
index
1e79aed
..
58b6ac4
100644
(file)
--- a/
libvisor/include/visor.h
+++ b/
libvisor/include/visor.h
@@
-77,8
+77,8
@@
enum { VI_SEEK_SET, VI_SEEK_CUR, VI_SEEK_END };
struct vi_fileops {
vi_file *(*open)(const char *path, unsigned int flags);
struct vi_fileops {
vi_file *(*open)(const char *path, unsigned int flags);
- long (*size)(vi_file *file);
void (*close)(vi_file *file);
void (*close)(vi_file *file);
+ long (*size)(vi_file *file);
void *(*map)(vi_file *file);
void (*unmap)(vi_file *file);
long (*read)(vi_file *file, void *buf, long count);
void *(*map)(vi_file *file);
void (*unmap)(vi_file *file);
long (*read)(vi_file *file, void *buf, long count);