From c89896554043ea3104093289c2b8a627955d9c05 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 9 Feb 2008 14:20:37 +0000 Subject: [PATCH] Fix Win32 build git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6386 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/filed/fd-plugins.c | 10 +++++----- bacula/technotes-2.3 | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/bacula/src/filed/fd-plugins.c b/bacula/src/filed/fd-plugins.c index 88fee12530..bd2d3ac1e1 100644 --- a/bacula/src/filed/fd-plugins.c +++ b/bacula/src/filed/fd-plugins.c @@ -41,11 +41,11 @@ extern int save_file(JCR *jcr, FF_PKT *ff_pkt, bool top_level); /* Function pointers to be set here */ -extern int (*plugin_bopen)(JCR *jcr, const char *fname, int flags, mode_t mode); -extern int (*plugin_bclose)(JCR *jcr); -extern ssize_t (*plugin_bread)(JCR *jcr, void *buf, size_t count); -extern ssize_t (*plugin_bwrite)(JCR *jcr, void *buf, size_t count); -extern boffset_t (*plugin_blseek)(JCR *jcr, boffset_t offset, int whence); +extern DLL_IMP_EXP int (*plugin_bopen)(JCR *jcr, const char *fname, int flags, mode_t mode); +extern DLL_IMP_EXP int (*plugin_bclose)(JCR *jcr); +extern DLL_IMP_EXP ssize_t (*plugin_bread)(JCR *jcr, void *buf, size_t count); +extern DLL_IMP_EXP ssize_t (*plugin_bwrite)(JCR *jcr, void *buf, size_t count); +extern DLL_IMP_EXP boffset_t (*plugin_blseek)(JCR *jcr, boffset_t offset, int whence); /* Forward referenced functions */ diff --git a/bacula/technotes-2.3 b/bacula/technotes-2.3 index 7f7973d72b..6c5cd92b89 100644 --- a/bacula/technotes-2.3 +++ b/bacula/technotes-2.3 @@ -2,6 +2,7 @@ General: 09Feb08 +kes Fix Win32 build. kes Remove a redundant jcr argument to find_files, match_files, and find_one_file. kes Implement '.status dir header|scheduled|running|terminated' that -- 2.39.5