Coda Distributed File System
Macros | Functions | Variables
ctest.c File Reference
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/socket.h>
#include <signal.h>
#include <netinet/in.h>
#include <assert.h>
#include <lwp/lwp.h>
#include <lwp/timer.h>
#include <rpc2/rpc2.h>
#include <rpc2/se.h>
#include <rpc2/sftp.h>
#include "test.h"
Include dependency graph for ctest.c:

Macros

#define DEBUG
 
#define SUBSYS_SRV   1001
 
#define WhatHappened(X, Y)    ((rpc2rc = X), printf("%s: %s\n", Y, RPC2_ErrorMsg(rpc2rc)), rpc2rc)
 

Functions

int main (int arg, char **argv)
 

Variables

struct SStats rpc2_Sent
 
struct RStats rpc2_Recvd
 
long RPC2_Perror
 
long RPC2_DebugLevel
 
long SFTP_DebugLevel
 
FILE * ErrorLogFile
 
PROCESS mypid
 
long VMMaxFileSize
 
long VMCurrFileSize
 
char * VMFileBuf
 
long rpc2rc
 
FILE * ifd
 
int fflag = 0
 
int qflag = 0
 
int bwflag = 0
 
char * bwfile
 
struct timeval start middle
 
FILE * BW_f
 
int bwi = 0
 

Macro Definition Documentation

◆ DEBUG

#define DEBUG

◆ SUBSYS_SRV

#define SUBSYS_SRV   1001

◆ WhatHappened

#define WhatHappened (   X,
 
)     ((rpc2rc = X), printf("%s: %s\n", Y, RPC2_ErrorMsg(rpc2rc)), rpc2rc)

Function Documentation

◆ main()

int main ( int  arg,
char **  argv 
)

Variable Documentation

◆ BW_f

FILE* BW_f

◆ bwfile

char* bwfile

◆ bwflag

int bwflag = 0

◆ bwi

int bwi = 0

◆ ErrorLogFile

FILE* ErrorLogFile

◆ fflag

int fflag = 0

◆ ifd

FILE* ifd

◆ middle

struct timeval start middle

◆ mypid

PROCESS mypid

◆ qflag

int qflag = 0

◆ RPC2_DebugLevel

long RPC2_DebugLevel
extern

◆ RPC2_Perror

long RPC2_Perror
extern

◆ rpc2_Recvd

struct RStats rpc2_Recvd
extern

◆ rpc2_Sent

struct SStats rpc2_Sent
extern

◆ rpc2rc

long rpc2rc

◆ SFTP_DebugLevel

long SFTP_DebugLevel
extern

◆ VMCurrFileSize

long VMCurrFileSize

◆ VMFileBuf

char* VMFileBuf

◆ VMMaxFileSize

long VMMaxFileSize