git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6359
91ce42f0-d328-0410-95d8-
f526ca767f89
.SUFFIXES: .c .o
.c.o:
- $(CC) -I../.. -DTEST_PROGRAM -c $<
+ $(CC) -I../.. -I../../filed -DTEST_PROGRAM -c $<
all: fd-plugins example-plugin-fd.so
fd-plugins: fd-plugins.o fd-plugins.h
$(CC) -L../../lib fd-plugins.o -o main -lbac -lpthread -lssl -l crypto -ldl
-example-plugin-fd.o: example-plugin-fd.c fd-plugins.h
+example-plugin-fd.o: example-plugin-fd.c ../../filed/fd-plugins.h
$(CC) -fPIC -I../.. -c example-plugin-fd.c
example-plugin-fd.so: example-plugin-fd.o
typedef enum {
bEventJobStart = 1,
bEventJobEnd = 2,
+ bEventBackupStart = 3,
+ bEventBackupEnd = 4,
+ bEventRestoreStart = 5,
+ bEventRestoreEnd = 6,
+ bEventPluginCommand = 7,
+ bEventPluginFile = 8
} bEventType;
typedef struct s_bEvent {
uint32_t version;
} bInfo;
-/* Bacula version interface and function pointers */
+/* Bacula interface version and function pointers */
typedef struct s_baculaFuncs {
uint32_t size;
uint32_t version;