xstat: add xstat_*_Wait functions
[openafs.git] / src / xstat / xstat_cm.h
index 661e269..cba285e 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2000, International Business Machines Corporation and others.
  * All Rights Reserved.
- * 
+ *
  * This software has been released under the terms of the IBM Public
  * License.  For details, see the LICENSE file in the top-level source
  * directory or online at http://www.openafs.org/dl/license10.html
@@ -145,4 +145,17 @@ extern int xstat_cm_Cleanup(int);
      *          with the xstat_cm connection array.
      */
 
+extern int xstat_cm_Wait(int sleep_secs);
+    /*
+     * Summary:
+     *    Wait for the collection to complete.
+     *
+     * Args:
+     *    int sleep_secs : time to wait in seconds when running
+     *                     in continuous mode. 0 means wait forever.
+     *
+     * Returns:
+     *    0 on success
+     */
+
 #endif /* _xstat_cm_h_ */