X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=daemon%2Fclient.h;h=0a301abb31ba08981092ccfcb8a43ee8ba509413;hb=d6932520155665f13a3af7ab40ca6a724328d09f;hp=66fcf09e86b713e3bfc7dbdc34840048a57d212e;hpb=e2d498ab79e7211521ef80608803a8f2a8d4111c;p=doldaconnect.git diff --git a/daemon/client.h b/daemon/client.h index 66fcf09..0a301ab 100644 --- a/daemon/client.h +++ b/daemon/client.h @@ -1,6 +1,6 @@ /* * Dolda Connect - Modular multiuser Direct Connect-style client - * Copyright (C) 2004 Fredrik Tolf (fredrik@dolda2000.com) + * Copyright (C) 2004 Fredrik Tolf * * 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; - size_t size; + off_t size; time_t mtime; dev_t dev; ino_t inode; @@ -93,6 +93,7 @@ int hashcmp(struct hash *h1, struct hash *h2); void scanshares(void); extern struct sharecache *shareroot; +extern int sharedfiles; extern unsigned long long sharesize; EGCBCHAIN(sharechangecb, unsigned long long);