]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/protos.h
added WSACleanup(), corrected WSA_Init() (removed #ifdef)
[bacula/bacula] / bacula / src / stored / protos.h
index 8c25d835455fb5bd8fc89f5eea9cf70ac4941d7f..a81ccb3cd2a4682316db22e089ec9a300ef98f85 100644 (file)
@@ -200,11 +200,15 @@ int read_records(JCR *jcr,  DEVICE *dev,
        int mount_cb(JCR *jcr, DEVICE *dev, DEV_BLOCK *block));
 
 /* From spool.c */
-int begin_data_spool(JCR *jcr);
-int discard_data_spool(JCR *jcr);
-int commit_data_spool(JCR *jcr);
-bool are_attributes_spooled(JCR *jcr);
-int begin_attribute_spool(JCR *jcr);
-int discard_attribute_spool(JCR *jcr);
-int commit_attribute_spool(JCR *jcr);
-bool write_block_to_spool_file(DCR *dcr, DEV_BLOCK *block);
+bool   begin_data_spool          (JCR *jcr);
+bool   discard_data_spool        (JCR *jcr);
+bool   commit_data_spool         (JCR *jcr);
+bool   are_attributes_spooled    (JCR *jcr);
+bool   begin_attribute_spool     (JCR *jcr);
+bool   discard_attribute_spool   (JCR *jcr);
+bool   commit_attribute_spool    (JCR *jcr);
+bool   write_block_to_spool_file (DCR *dcr, DEV_BLOCK *block);
+bool   open_spool_file           (JCR *jcr, BSOCK *bs);
+bool   close_spool_file          (JCR *jcr, BSOCK *bs);
+void   list_spool_stats          (BSOCK *bs);
+