#
SVRSRCS = dird.c admin.c authenticate.c \
autoprune.c backup.c bsr.c \
- catreq.c dir-plugins.c dird_conf.c expand.c \
+ catreq.c dir_plugins.c dird_conf.c expand.c \
fd_cmds.c getmsg.c inc_conf.c job.c \
jobq.c migrate.c \
mountreq.c msgchan.c next_vol.c newvol.c \
ua_status.c ua_tree.c ua_update.c verify.c
SVROBJS = dird.o admin.o authenticate.o \
autoprune.o backup.o bsr.o \
- catreq.o dir-plugins.o dird_conf.o expand.o \
+ catreq.o dir_plugins.o dird_conf.o expand.o \
fd_cmds.o getmsg.o inc_conf.o job.o \
jobq.o migrate.o \
mountreq.o msgchan.o next_vol.o newvol.o \
#include "lib/runscript.h"
#include "lib/breg.h"
#include "dird_conf.h"
-#include "dir-plugins.h"
+#include "dir_plugins.h"
#define DIRECTOR_DAEMON 1
#
SVRSRCS = filed.c authenticate.c acl.c backup.c estimate.c \
- fd-plugins.c \
+ fd_plugins.c \
filed_conf.c heartbeat.c job.c pythonfd.c \
restore.c status.c verify.c verify_vol.c
SVROBJS = filed.o authenticate.o acl.o backup.o estimate.o \
- fd-plugins.o \
+ fd_plugins.o \
filed_conf.o heartbeat.o job.o pythonfd.o \
restore.o status.o verify.o verify_vol.o
#define FILE_DAEMON 1
#include "filed_conf.h"
-#include "fd-plugins.h"
+#include "fd_plugins.h"
#include "findlib/find.h"
#include "jcr.h"
#include "acl.h"
#include "jcr.h"
#include "bfile.h"
-#include "../filed/fd-plugins.h"
+#include "../filed/fd_plugins.h"
#ifdef HAVE_DIRENT_H
#include <dirent.h>
test: main example-plugin-dir.so
-dir-plugins.o: ${DIRDIR}/dir-plugins.h ${DIRDIR}/dir-plugins.c
- $(CC) -I${SRCDIR} -I${DIRDIR} -DTEST_PROGRAM -c ${DIRDIR}/dir-plugins.c
+dir_plugins.o: ${DIRDIR}/dir_plugins.h ${DIRDIR}/dir_plugins.c
+ $(CC) -I${SRCDIR} -I${DIRDIR} -DTEST_PROGRAM -c ${DIRDIR}/dir_plugins.c
-main: dir-plugins.o
- $(CC) -L${LIBDIR} dir-plugins.o -o main -lbac -lpthread -lssl -l crypto -ldl
+main: dir_plugins.o
+ $(CC) -L${LIBDIR} dir_plugins.o -o main -lbac -lpthread -lssl -l crypto -ldl
-example-plugin-dir.o: example-plugin-dir.c ${DIRDIR}/dir-plugins.h
+example-plugin-dir.o: example-plugin-dir.c ${DIRDIR}/dir_plugins.h
$(CC) -fPIC -I../.. -I${DIRDIR} -c example-plugin-dir.c
example-plugin-dir.so: example-plugin-dir.o
*
*/
#include <stdio.h>
-#include "dir-plugins.h"
+#include "dir_plugins.h"
#ifdef __cplusplus
extern "C" {
test: main example-plugin-fd.so
-fd-plugins.o: ${FDDIR}/fd-plugins.h ${FDDIR}/fd-plugins.c
- $(CC) -I${SRCDIR} -I${FDDIR} -DTEST_PROGRAM -c ${FDDIR}/fd-plugins.c
+fd_plugins.o: ${FDDIR}/fd_plugins.h ${FDDIR}/fd_plugins.c
+ $(CC) -I${SRCDIR} -I${FDDIR} -DTEST_PROGRAM -c ${FDDIR}/fd_plugins.c
-main: fd-plugins.o
- $(CC) -L${LIBDIR} fd-plugins.o -o main -lbac -lpthread -lssl -l crypto -ldl
+main: fd_plugins.o
+ $(CC) -L${LIBDIR} fd_plugins.o -o main -lbac -lpthread -lssl -l crypto -ldl
-example-plugin-fd.o: example-plugin-fd.c ${FDDIR}/fd-plugins.h
+example-plugin-fd.o: example-plugin-fd.c ${FDDIR}/fd_plugins.h
$(CC) -fPIC -I../.. -I${FDDIR} -c example-plugin-fd.c
example-plugin-fd.so: example-plugin-fd.o
$(CC) -shared example-plugin-fd.o -o example-plugin-fd.so
-bpipe-fd.o: bpipe-fd.c ${FDDIR}/fd-plugins.h
+bpipe-fd.o: bpipe-fd.c ${FDDIR}/fd_plugins.h
$(CC) -fPIC -I../.. -I${FDDIR} -c bpipe-fd.c
bpipe-fd.so: bpipe-fd.o
* Kern Sibbald, October 2007
*
*/
-#include "fd-plugins.h"
+#include "fd_plugins.h"
#undef malloc
#undef free
*
*/
#include <stdio.h>
-#include "fd-plugins.h"
+#include "fd_plugins.h"
#ifdef __cplusplus
extern "C" {
General:
08Mar08
+kes Rename fd/dir plugin to use Bacula standard underscore.
kes Plugin work -- bring dir up to fd level.
kes Start implementation of VTL code
kes Fix Win32 build after adding new cats subroutine.