butc-xbsa-20040713
authorHans-Gunther Borrmann <hans-gunther.borrmann@rz.uni-freiburg.de>
Tue, 13 Jul 2004 06:52:44 +0000 (06:52 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 13 Jul 2004 06:52:44 +0000 (06:52 +0000)
FIXES 5761

update for butc xbsa support

Makefile.in
src/butc/Makefile.in
src/butc/butc_xbsa.c
src/butc/tcprocs.c

index c4ca338..675d4f8 100644 (file)
@@ -443,7 +443,7 @@ butc: cmd comerr bubasics butm budb bucoord cmd rxgen rx
 
 tbutc: cmd comerr bubasics butm budb bucoord cmd butc
        case ${SYS_NAME} in \
-       alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix4*|*linux*|hp_ux11*|ia64_hpux*) \
+       alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*) \
                ${COMPILE_PART1} tbutc ${COMPILE_PART2} ;; \
        *) \
                echo Not building MT butc for ${SYS_NAME} ;; \
index d7bc516..51c7922 100644 (file)
@@ -59,7 +59,7 @@ tdump: tdump.c AFS_component_version_number.c
 
 butc: ${SOBJS} ${LIBS} ${INCLS} ${HACKS}
        @case ${SYS_NAME} in \
-         rs_aix4*) ${CC} ${CFLAGS} ${SOBJS} ${LIBS} ${XLIBS} /usr/lib/libc_r.a -o butc;; \
+         rs_aix*) ${CC} ${CFLAGS} ${SOBJS} ${LIBS} ${XLIBS} /usr/lib/libc_r.a -o butc;; \
          *)        ${CC} ${CFLAGS} ${SOBJS} ${LIBS} ${XLIBS} -o butc;; \
        esac
 
@@ -84,7 +84,7 @@ clean:
 
 install:  
        @case ${SYS_NAME} in \
-       alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix4*|*linux*|hp_ux*) \
+       alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux*) \
                echo "Don't install butc for ${SYS_NAME} (will install from tbutc)" ;; \
        *_darwin_[1-6][0-9]) \
                echo ${INSTALL} butc ${DEST}/etc/butc ; \
@@ -100,7 +100,7 @@ install:
 include ../config/Makefile.version
 dest:  
        @case ${SYS_NAME} in \
-       alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix4*|*linux*|hp_ux*) \
+       alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux*) \
                echo "Don't install butc for ${SYS_NAME} (will install from tbutc)" ;; \
        *_darwin_[1-6][0-9]) \
                echo ${INSTALL} butc ${DESTDIR}${sbindir}/butc ; \
index f1b455e..7139a43 100644 (file)
@@ -24,6 +24,7 @@ RCSID
 #include <errno.h>
 #include "butc_xbsa.h"
 #include <afs/butx.h>
+#include <afs/bubasics.h>
 
 #include "error_macros.h"
 
index f451f50..5c2467d 100644 (file)
@@ -51,6 +51,20 @@ callPermitted(call)
     return 1;
 }
 
+/* XBSA Global Parameters */
+afs_int32 xbsaType;
+#ifdef xbsa
+struct butx_transactionInfo butxInfo;
+
+#define rpc_c_protect_level_default 0
+afs_uint32 dumpRestAuthnLevel = rpc_c_protect_level_default;
+char *xbsaObjectOwner;
+char *appObjectOwner;
+char *adsmServerName;
+char *xbsaSecToken;
+char *xbsalGName;
+#endif
+
 /* -------------------------
  * butc - interface routines - alphabetic order
  * -------------------------