Use proper e-mail address format everywhere.
[doldaconnect.git] / daemon / search.h
index dff4c80..990391e 100644 (file)
@@ -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 <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
@@ -19,6 +19,7 @@
 #ifndef _SEARCH_H
 #define _SEARCH_H
 
+#include "client.h"
 #include "filenet.h"
 #include "sysevents.h"
 #include <regex.h>
@@ -36,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,6 +65,7 @@ struct sexpr
        } re;
        wchar_t *s;
        int n;
+       struct hash *hash;
     } d;
 };
 
@@ -105,6 +108,7 @@ struct srchres
     int slots;
     struct fnetnode *fn;
     double time;
+    struct hash *hash;
 };
 
 wchar_t *regexunquotesimple(wchar_t *re);