From: Eric Bollengier Date: Mon, 28 Apr 2008 14:30:22 +0000 (+0000) Subject: ebl Cleanup function prototype X-Git-Tag: Release-7.0.0~4687 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2ee15fcc46f9279fabf5092495032c08e6f71f41;p=bacula%2Fbacula ebl Cleanup function prototype git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6847 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/filed/accurate.c b/bacula/src/filed/accurate.c index 2cb0834bd7..4c4c187e54 100644 --- a/bacula/src/filed/accurate.c +++ b/bacula/src/filed/accurate.c @@ -33,9 +33,6 @@ #include "bacula.h" #include "filed.h" -void strip_path(FF_PKT *ff_pkt); -void unstrip_path(FF_PKT *ff_pkt); -bool encode_and_send_attributes(JCR *jcr, FF_PKT *ff_pkt, int &data_stream); typedef struct PrivateCurFile { #ifndef USE_TCHDB hlink link; diff --git a/bacula/src/filed/backup.c b/bacula/src/filed/backup.c index 6baf86c8b8..afe9f84daf 100644 --- a/bacula/src/filed/backup.c +++ b/bacula/src/filed/backup.c @@ -38,14 +38,8 @@ #include "bacula.h" #include "filed.h" -/* from accurate.c */ -bool accurate_send_deleted_list(JCR *jcr); -bool accurate_check_file(JCR *jcr, FF_PKT *ff_pkt); - /* Forward referenced functions */ int save_file(JCR *jcr, FF_PKT *ff_pkt, bool top_level); -void strip_path(FF_PKT *ff_pkt); -void unstrip_path(FF_PKT *ff_pkt); static int send_data(JCR *jcr, int stream, FF_PKT *ff_pkt, DIGEST *digest, DIGEST *signature_digest); bool encode_and_send_attributes(JCR *jcr, FF_PKT *ff_pkt, int &data_stream); static bool read_and_send_acl(JCR *jcr, int acltype, int stream); diff --git a/bacula/src/filed/protos.h b/bacula/src/filed/protos.h index ce68c81a42..a2e2781be8 100644 --- a/bacula/src/filed/protos.h +++ b/bacula/src/filed/protos.h @@ -49,3 +49,13 @@ void stop_dir_heartbeat(JCR *jcr); /* From acl.c */ int bacl_get(JCR *jcr, int acltype); int bacl_set(JCR *jcr, int acltype); + +/* from accurate.c */ +bool accurate_send_deleted_list(JCR *jcr); +bool accurate_check_file(JCR *jcr, FF_PKT *ff_pkt); + +/* from backup.c */ +bool encode_and_send_attributes(JCR *jcr, FF_PKT *ff_pkt, int &data_stream); +void strip_path(FF_PKT *ff_pkt); +void unstrip_path(FF_PKT *ff_pkt); +