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));
+ }
}
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);
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" {
#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 */
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.