]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix Win32 build
authorKern Sibbald <kern@sibbald.com>
Sat, 9 Feb 2008 14:20:37 +0000 (14:20 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 9 Feb 2008 14:20:37 +0000 (14:20 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6386 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/filed/fd-plugins.c
bacula/src/win32/dll/bacula.def
bacula/technotes-2.3

index 88fee1253078a1c5118ab2ba2013ced10ba12908..bd2d3ac1e1b04d14fdab7f0ee80558b6e8ec0639 100644 (file)
@@ -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 */
index d0a157e96b020fd6090d2aac2182556f07962afe..09cbb0879232f5c1c1864bb3ecf52c5966d7afa0 100644 (file)
@@ -107,6 +107,7 @@ _Z15stream_to_asciii
 _Z16set_win32_backupP5BFILE
 _Z18is_portable_backupP5BFILE
 _Z19set_portable_backupP5BFILE
+_Z14set_cmd_pluginP5BFILEP3JCR
 _Z26processWin32BackupAPIBlockP5BFILEPvl
 _Z27is_restore_stream_supportedi
 _Z5binitP5BFILE
@@ -128,14 +129,14 @@ _Z9drivetypePKcPci
 _Z24enable_backup_privilegesP3JCRi
  
 ; find.o
-_Z10find_filesP3JCRP6FF_PKTPFiS2_PvbES3_
+_Z10find_filesP3JCRP6FF_PKTPFiS0_S2_bES4_
 _Z15init_find_filesv
 _Z15term_find_filesP6FF_PKT
 _Z16set_find_optionsP6FF_PKTil
 _Z22get_win32_drivelettersP6FF_PKTPc
  
 ; find_one.o
-_Z13find_one_fileP3JCRP6FF_PKTPFiS2_PvbES3_Pcjb
+_Z13find_one_fileP3JCRP6FF_PKTPFiS0_S2_bEPcjb
 _Z13term_find_oneP6FF_PKT
 _Z16has_file_changedP3JCRP6FF_PKT
  
@@ -143,7 +144,7 @@ _Z16has_file_changedP3JCRP6FF_PKT
 _Z6fstypePKcPci
  
 ; match.o
-_Z11match_filesP3JCRP6FF_PKTPFiS2_PvbES3_
+_Z11match_filesP3JCRP6FF_PKTPFiS0_S2_bE
 _Z16file_is_excludedP6FF_PKTPKc
 _Z16file_is_includedP6FF_PKTPKc
 _Z22get_next_included_fileP6FF_PKTP15s_included_file
@@ -721,3 +722,8 @@ watchdog_thread
  
 console_command DATA
 plugin_list DATA
+plugin_bopen DATA
+plugin_bclose DATA
+plugin_bwrite DATA
+plugin_bread DATA
+plugin_blseek DATA
index 7f7973d72b87d36c69cea2ce1aae6dcd244376a7..6c5cd92b8959b7eacce21910e26b15d2099353fe 100644 (file)
@@ -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