Dolda2000 GitWeb
/
doldaconnect.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mention hubmgr in the ChangeLog.
[doldaconnect.git]
/
daemon
/
client.h
diff --git
a/daemon/client.h
b/daemon/client.h
index
a36c87b
..
19708d2
100644
(file)
--- a/
daemon/client.h
+++ b/
daemon/client.h
@@
-1,6
+1,6
@@
/*
* Dolda Connect - Modular multiuser Direct Connect-style client
/*
* Dolda Connect - Modular multiuser Direct Connect-style client
- * Copyright (C) 2004 Fredrik Tolf
(fredrik@dolda2000.com)
+ * Copyright (C) 2004 Fredrik Tolf
<fredrik@dolda2000.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-58,7
+58,7
@@
struct sharecache
struct sharecache *next, *prev, *child, *parent;
char *path;
wchar_t *name;
struct sharecache *next, *prev, *child, *parent;
char *path;
wchar_t *name;
-
size
_t size;
+
off
_t size;
time_t mtime;
dev_t dev;
ino_t inode;
time_t mtime;
dev_t dev;
ino_t inode;
@@
-89,6
+89,8
@@
void freehash(struct hash *hash);
struct hash *duphash(struct hash *hash);
struct hash *parsehash(wchar_t *text);
wchar_t *unparsehash(struct hash *hash);
struct hash *duphash(struct hash *hash);
struct hash *parsehash(wchar_t *text);
wchar_t *unparsehash(struct hash *hash);
+int hashcmp(struct hash *h1, struct hash *h2);
+void scanshares(void);
extern struct sharecache *shareroot;
extern unsigned long long sharesize;
extern struct sharecache *shareroot;
extern unsigned long long sharesize;