-I${TOP_INCDIR} \
-I${TOP_INCDIR}/afs
-TOP_OBJ_FSINT = ${TOP_OBJDIR}/src/fsint
-TOP_OBJ_RXSTAT = ${TOP_OBJDIR}/src/rxstat
-TOP_OBJ_VLSERVER = ${TOP_OBJDIR}/src/vlserver
-
-TOP_SRC_AFS = ${TOP_SRCDIR}/afs
-TOP_SRC_RXSTAT = ${TOP_SRCDIR}/rxstat
-TOP_SRC_FSINT = ${TOP_SRCDIR}/fsint
-TOP_SRC_RX = ${TOP_SRCDIR}/rx
-TOP_SRC_VNOPS = ${TOP_SRCDIR}/afs/VNOPS
-TOP_SRC_RXKAD = ${TOP_SRCDIR}/rxkad
-
-COMMON_INCLUDE = -I. -I.. -I../nfs \
- -I${TOP_SRCDIR} \
- -I${TOP_SRCDIR}/afs \
- -I${TOP_SRCDIR}/afs/UKERNEL \
- -I${TOP_SRCDIR}/config \
- -I${TOP_SRCDIR}/rx \
- -I${TOP_SRCDIR}/rx/UKERNEL \
- -I${TOP_SRCDIR}/rxkad \
- -I${TOP_SRCDIR}/rxkad/domestic \
- -I${TOP_SRCDIR}/util \
- -I${TOP_OBJDIR}/src \
- -I${TOP_OBJDIR}/src/afs/UKERNEL \
- -I${TOP_OBJDIR}/src/afs \
- -I${TOP_OBJDIR}/src/util \
- -I${TOP_OBJDIR}/src/rxkad \
- -I${TOP_OBJDIR}/src/config \
- -I${TOP_OBJDIR}/src/fsint \
- -I${TOP_OBJDIR}/src/vlserver \
- -I${TOP_OBJDIR}/src/libuafs \
- -I${TOP_INCDIR} \
- -I${TOP_INCDIR}/afs \
-
# Build rules - CC and CFLAGS are defined in system specific MakefileProtos.
all: ${TOP_LIBDIR}/$(LIBJUAFS) ${TOP_LIBDIR}/$(LIBUAFS) linktest
afs_uint32 * maxvolid);
-/* Utility macros used by rest of this source file */
-#define EPRINT(ec, es) \
- fprintf(STDERR, "\n"); \
- fprintf(STDERR, (es)); \
- PrintError(" ",ec);
-
-#define EPRINT1(ec, es, ep1) \
- fprintf(STDERR, "\n"); \
- fprintf(STDERR, (es), (ep1)); \
- PrintError(" ",ec);
-
-#define EPRINT2(ec, es, ep1, ep2) \
- fprintf(STDERR, "\n"); \
- fprintf(STDERR, (es), (ep1), (ep2)); \
- PrintError(" ",ec);
-
-#define EPRINT3(ec, es, ep1, ep2, ep3) \
- fprintf(STDERR, "\n"); \
- fprintf(STDERR, (es), (ep1), (ep2), (ep3)); \
- PrintError(" ",ec);
-
-#define EGOTO(where, ec, es) \
- if (ec) { \
- EPRINT((ec),(es)); \
- error = (ec); \
- goto where; \
- }
-
-#define EGOTO1(where, ec, es, ep1) \
- if (ec) { \
- EPRINT1((ec),(es),(ep1)); \
- error = (ec); \
- goto where; \
- }
-
-#define EGOTO2(where, ec, es, ep1, ep2) \
- if (ec) { \
- EPRINT2((ec),(es),(ep1),(ep2)); \
- error = (ec); \
- goto where; \
- }
-
-#define EGOTO3(where, ec, es, ep1, ep2, ep3) \
- if (ec) { \
- EPRINT3((ec),(es),(ep1),(ep2),(ep3)); \
- error = (ec); \
- goto where; \
- }
-
-#define VPRINT(es) \
- { if (verbose) { fprintf(STDOUT, (es)); fflush(STDOUT); } }
-#define VPRINT1(es, p) \
- { if (verbose) { fprintf(STDOUT, (es), (p)); fflush(STDOUT); } }
-#define VPRINT2(es, p1, p2) \
- { if (verbose) { fprintf(STDOUT, (es), (p1), (p2)); fflush(STDOUT); } }
-#define VPRINT3(es, p1, p2, p3) \
- { if (verbose) { fprintf(STDOUT, (es), (p1), (p2), (p3)); fflush(STDOUT); } }
-#define VDONE \
- { if (verbose) { fprintf(STDOUT, " done\n"); fflush(STDOUT); } }
-
-
-
-/* getting rid of this */
-#define ERROR_EXIT(code) {error=(code); goto error_exit;}
-
-
-/* Protos for static routines */
-static afs_int32 CheckAndDeleteVolume(struct rx_connection *aconn,
- afs_int32 apart, afs_int32 okvol, afs_int32 delvol);
-static int DelVol (struct rx_connection *conn, afs_int32 vid, afs_int32 part, afs_int32 flags);
-static int GetTrans (struct nvldbentry *vldbEntryPtr, afs_int32 index, struct rx_connection **connPtr,
- afs_int32 *transPtr, afs_int32 *timePtr);
-static int SimulateForwardMultiple(struct rx_connection *fromconn, afs_int32 fromtid,
- afs_int32 fromdate, manyDests *tr, afs_int32 flags, void *cookie, manyResults *results);
-static int rel_compar (struct release *r1, struct release *r2);
-static afs_int32 CheckVolume(volintInfo *volumeinfo, afs_int32 aserver, afs_int32 apart,
- afs_int32 *modentry, afs_uint32 *maxvolid);
-
-
/*map the partition <partId> into partition name <partName>*/
void
MapPartIdIntoName(afs_int32 partId, char *partName)