projects
/
swifty.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a102e72
)
swifty: Add swhdr.
author
Razvan Deaconescu
<razvan.deaconescu@cs.pub.ro>
Sun, 15 May 2011 06:44:58 +0000
(09:44 +0300)
committer
Razvan Deaconescu
<razvan.deaconescu@cs.pub.ro>
Sun, 15 May 2011 06:44:58 +0000
(09:44 +0300)
src/swift_types.h
patch
|
blob
|
history
diff --git
a/src/swift_types.h
b/src/swift_types.h
index
3decae6
..
a8b69f9
100644
(file)
--- a/
src/swift_types.h
+++ b/
src/swift_types.h
@@
-48,6
+48,16
@@
struct sockaddr_sw {
sizeof(struct in_addr)];
};
+/*
+ * swift header (work in progress)
+ */
+
+struct swhdr {
+ /* file hash (to be seeded or requested) */
+ u_int8_t base_hash[SWIFT_HASH_SIZE];
+ /* TODO */
+};
+
#ifdef __cplusplus
}
#endif