]> code.citadel.org Git - citadel.git/blobdiff - webcit/dav_propfind.c
Deleted some system banners that are no longer referenced
[citadel.git] / webcit / dav_propfind.c
index 80efafca4b9c626858374c4ca15ef6240e269e08..3df13423e6cb13a9bd55784ea2247b547e63c565 100644 (file)
@@ -167,7 +167,7 @@ const folder *GetRESTFolder(int IgnoreFloor, HashList *Subfolders)
                        {
                                DeleteHashPos(&itd);
                                
-                               syslog(0, "5\n");
+                               syslog(LOG_DEBUG, "5\n");
                                continue;
                        }
                        DeleteHashPos(&itd);
@@ -178,7 +178,7 @@ const folder *GetRESTFolder(int IgnoreFloor, HashList *Subfolders)
                        {
                                DeleteHashPos(&itd);
                                
-                               syslog(0, "5\n");
+                               syslog(LOG_DEBUG, "5\n");
                                continue;
                        }
                        DeleteHashPos(&itfl);
@@ -383,7 +383,8 @@ void dav_collection_list(void)
                        (view == VIEW_ADDRESSBOOK) ||
                        (view == VIEW_NOTES) ||
                        (view == VIEW_JOURNAL) ||
-                       (view == VIEW_WIKI)
+                       (view == VIEW_WIKI) ||
+                       (view == VIEW_WIKIMD)
                ) {
                        is_groupware_collection = 1;
                }
@@ -425,6 +426,7 @@ void dav_collection_list(void)
                                wc_printf("<G:vjournal-collection />");
                                break;
                        case VIEW_WIKI:
+                       case VIEW_WIKIMD:
                                wc_printf("<G:wiki-collection />");
                                break;
                        }
@@ -772,7 +774,8 @@ void dav_propfind(void)
 int ParseMessageListHeaders_EUID(StrBuf *Line, 
                                 const char **pos, 
                                 message_summary *Msg, 
-                                StrBuf *ConversionBuffer)
+                                StrBuf *ConversionBuffer,
+                                void **ViewSpecific)
 {
        Msg->euid = NewStrBuf();
        StrBufExtract_NextToken(Msg->euid,  Line, pos, '|');
@@ -782,10 +785,12 @@ int ParseMessageListHeaders_EUID(StrBuf *Line,
 }
 
 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)
 {
        Stat->defaultsortorder = 0;
        Stat->sortit = 0;
@@ -825,10 +830,12 @@ InitModule_PROPFIND
        RegisterReadLoopHandlerset(
                eReadEUIDS,
                DavUIDL_GetParamsGetServerCall,
+               NULL,
                NULL, /// TODO: is this right?
                ParseMessageListHeaders_EUID,
                NULL, //// ""
                DavUIDL_RenderView_or_Tail,
-               DavUIDL_Cleanup);
+               DavUIDL_Cleanup,
+               NULL);
 
 }