Windows: AFSVolSync creationDate based readonly volume versioning
[openafs.git] / src / WINNT / afsd / cm_callback.h
index e3e13a0..6a066b7 100644 (file)
@@ -14,7 +14,7 @@
 
 typedef struct cm_callbackRequest {
     long callbackCount;                /* callback count at start of the request */
-    unsigned long startTime;   /* time when we started the call */
+    time_t startTime;  /* time when we started the call */
     struct cm_server *serverp; /* server we really got the callback from */
 } cm_callbackRequest_t;
 
@@ -57,7 +57,7 @@ extern int cm_HaveCallback(struct cm_scache *);
 extern void cm_StartCallbackGrantingCall(struct cm_scache *, cm_callbackRequest_t *);
 
 extern void cm_EndCallbackGrantingCall(struct cm_scache *, cm_callbackRequest_t *,
-       struct AFSCallBack *, long);
+       struct AFSCallBack *, struct AFSVolSync *, long);
 
 extern long cm_GetCallback(struct cm_scache *, struct cm_user *,
        struct cm_req * reqp, long flags);
@@ -68,4 +68,13 @@ extern osi_rwlock_t cm_callbackLock;
 
 extern void cm_CallbackNotifyChange(cm_scache_t *scp);
 
+extern void cm_GiveUpAllCallbacks(cm_server_t *tsp, afs_int32 markDown);
+
+extern void cm_GiveUpAllCallbacksAllServers(afs_int32 markDown);
+
+extern afs_int32 cm_OfflineROIsValid;
+
+extern afs_int32 cm_giveUpAllCBs;
+
+extern afs_int32 cm_shutdown;
 #endif /*  _CM_CALLBACK_H_ENV__ */