make things compile when xbas is defined.
char *objectSpaceName, char *pathName);
#endif /*xbsa */
+
+
+/* XBSA Global Parameters */
+
+#ifdef XBSA_TCMAIN
+#define XBSA_EXT
+#else
+#define XBSA_EXT extern
+#endif
+
+XBSA_EXT afs_int32 xbsaType;
+#ifdef xbsa
+XBSA_EXT struct butx_transactionInfo butxInfo;
+
+#define rpc_c_protect_level_default 0
+XBSA_EXT afs_uint32 dumpRestAuthnLevel;
+XBSA_EXT char *xbsaObjectOwner;
+XBSA_EXT char *appObjectOwner;
+XBSA_EXT char *adsmServerName;
+XBSA_EXT char *xbsaSecToken;
+XBSA_EXT char *xbsalGName;
+#endif /*xbsa*/
#endif /* OPENAFS_BUTC_XBSA_H */
#include "error_macros.h"
#include <afs/budb_errs.h>
#include "afs/butx.h"
+#define XBSA_TCMAIN
#include "butc_xbsa.h"
#define N_SECURITY_OBJECTS 3
char *restoretofile;
int forcemultiple;
-/* 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
-
int maxpass;
#define PASSESMIN 1
#define PASSESMAX 10
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
* -------------------------