tComment getmetadata() function - synk - synchronize files between hosts
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit bfc62edabc6cbd02cb2788fed0ade60b56b9a282
DIR parent e1f37a92c2a59173505a48495338e7c37855a8b6
HTML Author: Willy <willyatmailoodotorg>
Date: Tue, 30 Aug 2016 22:45:27 +0200
Comment getmetadata() function
Diffstat:
M synk.c | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
DIR diff --git a/synk.c b/synk.c
t@@ -281,6 +281,10 @@ getpeermeta(struct peer_t *clt, struct metadata_t local)
}
+/*
+ * Retrieve metadata about a filename and store it in the given pointer.
+ * The pointer must be already allocated
+ */
int
getmetadata(struct metadata_t *meta, const char *fn)
{