struct tm localJunk;
time_t t = unixTime;
- ltp = localtime((time_t*) &t);
+ ltp = localtime(&t);
/* if we fail, make up something */
if (!ltp) {
struct ktext {
unsigned int length;
unsigned char dat[MAX_KTXT_LEN];
- u_int32_t mbz;
+ afs_uint32 mbz;
};
struct credentials {
char *abuffer, afs_int32 alen);
#ifdef AFS_NT40_ENV
-static void AppendExecutableExtension(char *cmd)
+static void AppendExecutableExtension(char *cmd);
#else
#define AppendExecutableExtension(x)
#endif
DIROBJS = $(OUT)\buffer.obj $(OUT)\dir.obj $(OUT)\salvage.obj
-VOLOBJS = $(OUT)\vnode.obj $(OUT)\volume.obj $(OUT)\vutil.obj $(OUT)\partition.obj $(OUT)\fssync.obj $(OUT)\purge.obj \
- $(OUT)\clone.obj $(OUT)\common.obj $(OUT)\ihandle.obj $(OUT)\ntops.obj
+VOLOBJS = $(OUT)\vnode.obj $(OUT)\volume.obj $(OUT)\vutil.obj $(OUT)\partition.obj \
+ $(OUT)\clone.obj $(OUT)\common.obj $(OUT)\ihandle.obj $(OUT)\ntops.obj \
+ $(OUT)\fssync-server.obj $(OUT)\fssync-client.obj $(OUT)\daemon_com.obj
FSINTOBJS = $(OUT)\afsaux.obj $(OUT)\afscbint.cs.obj $(OUT)\afsint.ss.obj $(OUT)\afsint.xdr.obj
$(OUT)\winsock_nt.obj \
$(OUT)\errmap_nt.obj \
$(OUT)\dirpath.obj \
+ $(OUT)\strnlen.obj \
+ $(OUT)\strlcpy.obj \
$(OUT)\fileutil.obj \
$(OUT)\secutil_nt.obj
$(INCFILEDIR)\afs\viceinode.h \
$(INCFILEDIR)\afs\vnode.h \
$(INCFILEDIR)\afs\volume.h \
- $(INCFILEDIR)\afs\voldefs.h
+ $(INCFILEDIR)\afs\voldefs.h \
+ $(INCFILEDIR)\afs\daemon_com.h
LIBOBJS =\
$(OUT)\common.obj \
$(OUT)\clone.obj \
- $(OUT)\fssync.obj \
+ $(OUT)\fssync-client.obj \
+ $(OUT)\fssync-server.obj \
+ $(OUT)\fssync-debug.obj \
+ $(OUT)\daemon_com.obj \
$(OUT)\ntops.obj \
$(OUT)\nuke.obj \
$(OUT)\partition.obj \
extern char * tmpdir = 0;
-#ifdef AFS_NT40_ENV
-/* Child job this process is running. */
-childJob_t myjob = { SALVAGER_MAGIC, NOT_CHILD, "" };
-#endif /* AFS_NT40_ENV */
-
-
/* Forward declarations */
/*@printflike@*/ void Log(const char *format, ...);
#include "afs/assert.h"
#endif /* AFS_PTHREAD_ENV */
#include "vutils.h"
-#include <dir/dir.h>
#ifndef AFS_NT40_ENV
+#include <dir/dir.h>
#include <unistd.h>
#endif