rxfs_storeUfsRead(void *r, struct osi_file *tfile, afs_uint32 offset,
afs_uint32 tlen, afs_uint32 *got)
{
- afs_int32 code;
struct rxfs_storeVariables *v = (struct rxfs_storeVariables *)r;
*got = afs_osi_Read(tfile, -1, v->tbuffer, tlen);
*/
if (! do524) {
- char *p;
char k4name[ANAME_SZ], k4inst[INST_SZ], k4realm[REALM_SZ];
+#ifdef HAVE_NO_KRB5_524
+ char *p;
int len;
+#endif
if (dflag)
printf("Using Kerberos V5 ticket natively\n");
struct ubik_client *uclient)
{ /*EvalVolumeSet1 */
afs_int32 code; /*Result of various calls */
- char *errm;
struct bc_volumeDump *tvd; /*Ptr to new dump instance */
struct bc_volumeEntry *tve, *ctve; /*Ptr to new volume entry instance */
char patt[256]; /*Composite regex; also, target string */
#ifdef HAVE_POSIX_REGEX
regex_t re;
int need_regfree = 0;
+#else
+ char *errm;
#endif
*avols = (struct bc_volumeDump *)0;
read_pw_string(char *s, int max, char *prompt, int verify)
{
int ok = 0;
- int len; /* password length */
#ifdef BSDUNIX
jmp_buf old_env;
int rc = 0;
afs_status_t tst = 0;
afs_cell_handle_p c_handle = (afs_cell_handle_p) cellHandle;
- afs_int32 userId = 0;
/*
* Validate arguments
#else
afs_int32 rc = 0;
struct rx_debugIn in;
- afs_int32 *lp = (afs_int32 *) stat;
*supportedValues = 0;
in.type = htonl(RX_DEBUGI_GETSTATS);
static void *
event_handler(void *argp)
{
- struct clock rx_pthread_last_event_wait_time = { 0, 0 };
unsigned long rx_pthread_n_event_expired = 0;
unsigned long rx_pthread_n_event_waits = 0;
long rx_pthread_n_event_woken = 0;
InitThisModule(void)
{ /*InitThisModule */
+#ifdef USS_PTSERVER_DB
static char rn[] = "uss_ptserver:InitThisModule"; /*Routine name */
+#endif
register afs_int32 code; /*Return code */
/*
afs_int32 a_servID, char *a_partName, afs_int32 a_partID)
{ /*uss_vol_DeleteVol */
+#ifdef USS_VOL_DB
static char rn[] = "uss_vol_DeleteVol"; /*Routine name */
+#endif
register afs_int32 code = 0; /*Return code */
/*
afs_int32 *vd, *addr;
Error errorCode = 0; /* return code to caller */
struct client *client = 0;
- struct rx_connection *tcon = rx_ConnectionOf(acall);
ViceLog(1, ("SRXAFS_FlushCPS\n"));
FS_LOCK;
{
int index;
struct h_AddrHashChain *chain;
- int found = 0;
char hoststr[16], hoststr2[16];
/* hash into proper bucket */
viced_syscall(afs_uint32 a3, afs_uint32 a4, void *a5)
{
afs_uint32 rcode;
+#ifndef AFS_LINUX20_ENV
void (*old) (int);
-#ifndef AFS_LINUX20_ENV
old = (void (*)(int))signal(SIGSYS, SIG_IGN);
#endif
rcode = syscall(AFS_SYSCALL, 28 /* AFSCALL_CALL */ , a3, a4, a5);
volser_syscall(afs_uint32 a3, afs_uint32 a4, void *a5)
{
afs_uint32 rcode;
+#ifndef AFS_LINUX20_ENV
void (*old) (int);
-#ifndef AFS_LINUX20_ENV
old = signal(SIGSYS, SIG_IGN);
#endif
rcode =