X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=daemon%2Fsearch.h;h=d1b8b789755e9fdfdb1b381aa590f408a5d2aca0;hb=4f0d9ba6afe60e0b0091baa188026000b206ebc4;hp=35d0230d2d51cdc5ddcadd9a431267b904f068e4;hpb=1c7f7555eb2dcf2b2b600a12cff1c02de689f0c1;p=doldaconnect.git diff --git a/daemon/search.h b/daemon/search.h index 35d0230..d1b8b78 100644 --- a/daemon/search.h +++ b/daemon/search.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 @@ -37,6 +37,7 @@ #define SOP_SIZEGT 9 #define SOP_SIZELT 10 #define SOP_SIZEEQ 11 +#define SOP_HASHIS 12 #define SRCH_WAIT 0 #define SRCH_RUN 1 @@ -63,7 +64,8 @@ struct sexpr int inited; } re; wchar_t *s; - int n; + off_t sz; + struct hash *hash; } d; }; @@ -102,7 +104,7 @@ struct srchres wchar_t *filename; struct fnet *fnet; wchar_t *peerid, *peernick; - size_t size; + off_t size; int slots; struct fnetnode *fn; double time;