]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/filed/fd-plugins.h
Alpha integration of Dir plugin
[bacula/bacula] / bacula / src / filed / fd-plugins.h
index 80aea4ab7899398d88e7e46d91907866c55e98f1..702abb4d61a15fcfa05e9480eacc0ecb97666230 100644 (file)
@@ -32,8 +32,8 @@
  *
  */
  
-#ifndef __PLUGIN_FD_H 
-#define __PLUGIN_FD_H
+#ifndef __FD_PLUGINS_H 
+#define __FD_PLUGINS_H
 
 #include <sys/types.h>
 #ifndef __CONFIG_H
 #include "config.h"
 #endif
 #include "bc_types.h"
-#include "lib/plugin.h"
+#include "lib/plugins.h"
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
 
+
+
 /****************************************************************************
  *                                                                          *
  *                Bacula definitions                                        *
@@ -93,6 +95,13 @@ typedef struct s_baculaFuncs {
        int level, const char *msg);
 } bFuncs;
 
+/* Bacula Subroutines */
+void load_fd_plugins(const char *plugin_dir);
+void new_plugins(JCR *jcr);
+void free_plugins(JCR *jcr);
+void generate_plugin_event(JCR *jcr, bEventType event);
+
+
 
 /****************************************************************************
  *                                                                          *
@@ -137,4 +146,4 @@ typedef struct s_pluginFuncs {
 }
 #endif
 
-#endif /* __PLUGIN_FD_H */
+#endif /* __FD_PLUGINS_H */