X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fdird%2Fprotos.h;h=03b4e4d45f14c88076925c167d699ff642bb6857;hb=3f8a3a045ea058657030f588a10f786449d00e0d;hp=15ce08bbbd28e1294d9ac438bfdc9d8fef685ec7;hpb=fc92af306f2cd876b24b4858a15d05b18f525b6e;p=bacula%2Fbacula diff --git a/bacula/src/dird/protos.h b/bacula/src/dird/protos.h index 15ce08bbbd..03b4e4d45f 100644 --- a/bacula/src/dird/protos.h +++ b/bacula/src/dird/protos.h @@ -34,9 +34,9 @@ extern int do_autoprune(JCR *jcr); extern int prune_volumes(JCR *jcr); /* autorecycle.c */ -extern int recycle_oldest_purged_volume(JCR *jcr, bool InChanger, MEDIA_DBR *mr); +extern bool recycle_oldest_purged_volume(JCR *jcr, bool InChanger, MEDIA_DBR *mr); extern int recycle_volume(JCR *jcr, MEDIA_DBR *mr); -extern int find_recycled_volume(JCR *jcr, bool InChanger, MEDIA_DBR *mr); +extern bool find_recycled_volume(JCR *jcr, bool InChanger, MEDIA_DBR *mr); /* backup.c */ extern int wait_for_job_termination(JCR *jcr); @@ -103,10 +103,10 @@ extern bool setup_job(JCR *jcr); extern void create_clones(JCR *jcr); extern bool create_restore_bootstrap_file(JCR *jcr); -/* mac.c */ -extern bool do_mac(JCR *jcr); -extern bool do_mac_init(JCR *jcr); -extern void mac_cleanup(JCR *jcr, int TermCode); +/* migration.c */ +extern bool do_migration(JCR *jcr); +extern bool do_migration_init(JCR *jcr); +extern void migration_cleanup(JCR *jcr, int TermCode); /* mountreq.c */ @@ -146,7 +146,7 @@ bool acl_access_ok(UAContext *ua, int acl, char *item, int len); int do_a_command(UAContext *ua, const char *cmd); int do_a_dot_command(UAContext *ua, const char *cmd); int qmessagescmd(UAContext *ua, const char *cmd); -int open_db(UAContext *ua); +bool open_db(UAContext *ua); void close_db(UAContext *ua); enum e_pool_op { POOL_OP_UPDATE,