Bring in new dkim code
[citadel.git] / webcit / dav_report.c
index 33d1683421281b8d339ce4c9d7ed21f934587968..8780e3f305b1c50b0d762134050425b49c9c2830 100644 (file)
@@ -10,7 +10,6 @@
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- *
  */
 
 
@@ -52,7 +51,7 @@ Content-length: 255
 */
 
 #include "webcit.h"
-#include "webserver.h"
+
 #include "dav.h"
 
 
@@ -81,15 +80,18 @@ void dav_report(void)
 
 
 extern int ParseMessageListHeaders_EUID(StrBuf *Line, 
-                                const char **pos, 
-                                message_summary *Msg, 
-                                StrBuf *ConversionBuffer);
+                                       const char **pos, 
+                                       message_summary *Msg, 
+                                       StrBuf *ConversionBuffer,
+                                       void **ViewSpecific);
 
 extern int DavUIDL_GetParamsGetServerCall(SharedMessageStatus *Stat, 
-                                   void **ViewSpecific, 
-                                   long oper, 
-                                   char *cmd, 
-                                   long len);
+                                         void **ViewSpecific, 
+                                         long oper, 
+                                         char *cmd, 
+                                         long len,
+                                         char *filter,
+                                         long flen);
 
 extern int DavUIDL_RenderView_or_Tail(SharedMessageStatus *Stat, 
                                void **ViewSpecific, 
@@ -107,10 +109,12 @@ InitModule_REPORT
                eReadEUIDS,
                DavUIDL_GetParamsGetServerCall,
                NULL,
+               NULL,
                ParseMessageListHeaders_EUID,
                NULL,
                DavUIDL_RenderView_or_Tail,
-               DavUIDL_Cleanup
+               DavUIDL_Cleanup,
+               NULL
        );
 
 }