]> code.citadel.org Git - citadel.git/blobdiff - webcit/webcit.h
* add one more callback hook to the webcit DAV handler structure; this will be used...
[citadel.git] / webcit / webcit.h
index 385f9f57354d9ad3615bb5ed931c7927380c2570..9fff7edea0b3a44cd2e3f8c4863215d2a137e8ff 100644 (file)
@@ -348,9 +348,17 @@ typedef struct _addrbookent {
 #define PARSE_REST_URL (1<<9)
 #define PROHIBIT_STARTPAGE (1<<10)
 
+typedef enum _RESTDispatchID {
+       ExistsID,
+       PutID,
+       DeleteID
+} RESTDispatchID;
+
+typedef int (*WebcitRESTDispatchID)(RESTDispatchID WhichAction, int IgnoreFloor);
 typedef void (*WebcitHandlerFunc)(void);
 typedef struct  _WebcitHandler{
        WebcitHandlerFunc F;
+       WebcitRESTDispatchID RID;
        long Flags;
        StrBuf *Name;
        StrBuf *DisplayName;