xrootd
Classes | Defines | Typedefs | Functions | Variables

XrdSectestServer.cc File Reference

#include <unistd.h>
#include <ctype.h>
#include <errno.h>
#include <stdlib.h>
#include <strings.h>
#include <stdio.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <sys/param.h>
#include <sys/socket.h>
#include "XrdOuc/XrdOucErrInfo.hh"
#include "XrdSys/XrdSysHeaders.hh"
#include "XrdSys/XrdSysLogger.hh"
#include "XrdSec/XrdSecInterface.hh"
Include dependency graph for XrdSectestServer.cc:

Classes

struct  myOpts

Defines

#define H(x)   fprintf(stderr,x); fprintf(stderr, "\n");
#define I(x)   fprintf(stderr, "\n"); H(x)
#define insx(a, b)   sprintf(errbuff,a,b)
#define insy(a, b, c)   sprintf(errbuff,a,b,c)

Typedefs

typedef unsigned char uchar

Functions

int getbintix (uchar *buff, int blen)
void getargs (int argc, char **argv)
int unhex (uchar *ibuff, uchar *obuff, int blen)
int cvtx (uchar idig, uchar *odig)
void getline (uchar *buff, int blen)
char * Ereason ()
int emsg (int rc, char *msg)
void help (int rc)
void xerr (int x)
int main (int argc, char **argv)

Variables

const char * XrdSectestServerCVSID = "$Id$"
struct myOpts opts
char errbuff [256]
char hexbuff [256]

Define Documentation

#define H (   x)    fprintf(stderr,x); fprintf(stderr, "\n");
#define I (   x)    fprintf(stderr, "\n"); H(x)
#define insx (   a,
 
)    sprintf(errbuff,a,b)

Referenced by getargs(), and getbintix().

#define insy (   a,
  b,
 
)    sprintf(errbuff,a,b,c)

Referenced by getargs().


Typedef Documentation

typedef unsigned char uchar

Function Documentation

int cvtx ( uchar  idig,
uchar odig 
)

Referenced by unhex().

int emsg ( int  rc,
char *  msg 
)
char * Ereason ( )

Referenced by getargs(), and getbintix().

void getargs ( int  argc,
char **  argv 
)
int getbintix ( uchar buff,
int  blen 
)

References Ereason(), myOpts::infid, insx, opts, and xerr().

Referenced by main().

void getline ( uchar buff,
int  blen 
)

References myOpts::infid, and opts.

Referenced by main(), and readline().

void help ( int  rc)
int main ( int  argc,
char **  argv 
)
int unhex ( uchar ibuff,
uchar obuff,
int  blen 
)

References cvtx().

Referenced by main().

void xerr ( int  x)

References emsg(), and errbuff.

Referenced by getargs(), and getbintix().


Variable Documentation

char errbuff[256]

Referenced by xerr().

char hexbuff[256]
struct myOpts opts
const char* XrdSectestServerCVSID = "$Id$"