From: Kern Sibbald Date: Thu, 18 Sep 2008 16:02:16 +0000 (+0000) Subject: Tweak technotes X-Git-Tag: Release-7.0.0~4119 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3a3450cd0e95ba99b48479f5cd33bc6a0c51d110;p=bacula%2Fbacula Tweak technotes git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7609 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/filed/fd_plugins.c b/bacula/src/filed/fd_plugins.c index f6f8af8f98..88bcddab30 100644 --- a/bacula/src/filed/fd_plugins.c +++ b/bacula/src/filed/fd_plugins.c @@ -374,6 +374,9 @@ void load_fd_plugins(const char *plugin_dir) plugin_bread = my_plugin_bread; plugin_bwrite = my_plugin_bwrite; plugin_blseek = my_plugin_blseek; + foreach_alist(plugin, plugin_list) { + Jmsg(NULL, M_INFO, 0, _("Loaded plugin: %s\n", plugin->file)); + } } diff --git a/bacula/src/filed/fd_plugins.h b/bacula/src/filed/fd_plugins.h index 24a77401a8..191f6fc965 100644 --- a/bacula/src/filed/fd_plugins.h +++ b/bacula/src/filed/fd_plugins.h @@ -151,7 +151,8 @@ typedef struct s_baculaInfo { uint32_t version; } bInfo; -/* Bacula Core Routines -- not used by plugins */ +/* Bacula Core Routines -- not used within a plugin */ +#ifdef FILE_DAEMON struct BFILE; /* forward referenced */ struct FF_PKT; void load_fd_plugins(const char *plugin_dir); @@ -163,6 +164,7 @@ void plugin_name_stream(JCR *jcr, char *name); int plugin_create_file(JCR *jcr, ATTR *attr, BFILE *bfd, int replace); bool plugin_set_attributes(JCR *jcr, ATTR *attr, BFILE *ofd); int plugin_save(JCR *jcr, FF_PKT *ff_pkt, bool top_level); +#endif #ifdef __cplusplus extern "C" { diff --git a/bacula/src/version.h b/bacula/src/version.h index 58a4e9c6a3..9e37690438 100644 --- a/bacula/src/version.h +++ b/bacula/src/version.h @@ -4,8 +4,8 @@ #undef VERSION #define VERSION "2.5.3" -#define BDATE "16 September 2008" -#define LSMDATE "16Sep08" +#define BDATE "18 September 2008" +#define LSMDATE "18Sep08" #define PROG_COPYRIGHT "Copyright (C) %d-2008 Free Software Foundation Europe e.V.\n" #define BYEAR "2008" /* year for copyright messages in progs */ diff --git a/bacula/technotes-2.5 b/bacula/technotes-2.5 index 322e0f2cae..bddefefa65 100644 --- a/bacula/technotes-2.5 +++ b/bacula/technotes-2.5 @@ -18,6 +18,8 @@ dbdriver remove reader/writer in FOPTS???? General: +18Sep08 +kes Fix bad debug code call in src/filed/accurate.c 17Sep08 kes Change two Jmsgs in accurate to Dmsg to reduce unnecessary output. Perhaps we really need to implement M_SAVED.