projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79e07b7
)
almost forgot
author
bdemsky
<bdemsky>
Tue, 22 Sep 2009 11:37:47 +0000
(11:37 +0000)
committer
bdemsky
<bdemsky>
Tue, 22 Sep 2009 11:37:47 +0000
(11:37 +0000)
Robust/src/Runtime/DSTM/interface/readstruct.h
[new file with mode: 0644]
patch
|
blob
diff --git a/Robust/src/Runtime/DSTM/interface/readstruct.h
b/Robust/src/Runtime/DSTM/interface/readstruct.h
new file mode 100644
(file)
index 0000000..
ffd1a47
--- /dev/null
+++ b/
Robust/src/Runtime/DSTM/interface/readstruct.h
@@ -0,0
+1,13
@@
+#ifndef READSTRUCT_H
+#define READSTRUCT_H
+#define MAXBUF 1024
+struct readstruct {
+ char buf[MAXBUF];
+ int head;
+ int tail;
+};
+
+void recv_data_buf(int fd, struct readstruct *, void *buffer, int buflen);
+int recv_data_errorcode_buf(int fd, struct readstruct *, void *buffer, int buflen);
+
+#endif