ROOT  6.06/09
Reference Guide
Macros | Typedefs | Functions | Variables
XrdProofdProtocol.cxx File Reference
#include "XrdProofdPlatform.h"
#include "XpdSysError.h"
#include "XpdSysLogger.h"
#include "XrdSys/XrdSysPriv.hh"
#include "XrdOuc/XrdOucStream.hh"
#include "XrdVersion.hh"
#include "Xrd/XrdBuffer.hh"
#include "Xrd/XrdScheduler.hh"
#include "XrdProofdClient.h"
#include "XrdProofdClientMgr.h"
#include "XrdProofdConfig.h"
#include "XrdProofdManager.h"
#include "XrdProofdNetMgr.h"
#include "XrdProofdPriorityMgr.h"
#include "XrdProofdProofServMgr.h"
#include "XrdProofdProtocol.h"
#include "XrdProofdResponse.h"
#include "XrdProofdProofServ.h"
#include "XrdProofSched.h"
#include "XrdROOT.h"
#include "rpdconn.h"
#include "XrdProofdTrace.h"
+ Include dependency graph for XrdProofdProtocol.cxx:

Go to the source code of this file.

Macros

#define MAX_ARGS   128
 
#define XPDCOND(n, ns)   ((n == -1 && ns == -1) || (n > 0 && n >= ns))
 
#define XPDSETSTRING(n, ns, c, s)
 
#define XPDADOPTSTRING(n, ns, c, s)
 
#define XPDSETINT(n, ns, i, s)
 

Typedefs

typedef struct ResetCtrlcGuard ResetCtrlcGuard_t
 

Functions

XrdProtocol * XrdgetProtocol (const char *, char *parms, XrdProtocol_Config *pi)
 This protocol is meant to live in a shared library. More...
 
int XrdgetProtocolPort (const char *, char *, XrdProtocol_Config *pi)
 This function is called early on to determine the port we need to use. More...
 

Variables

XrdOucTrace * XrdProofdTrace = 0
 
static XrdSysLogger gMainLogger
 

Macro Definition Documentation

#define MAX_ARGS   128

Definition at line 77 of file XrdProofdProtocol.cxx.

#define XPDADOPTSTRING (   n,
  ns,
  c,
 
)
Value:
{ char *t = 0; \
XPDSETSTRING(n, ns, t, s); \
if (t && strlen(t)) { \
SafeFree(c); c = t; \
SafeFree(t); }
if(pyself &&pyself!=Py_None)
#define XPDSETSTRING(n, ns, c, s)
#define SafeFree(x)
Definition: XrdProofdAux.h:341
const Int_t n
Definition: legend1.C:16

Definition at line 90 of file XrdProofdProtocol.cxx.

#define XPDCOND (   n,
  ns 
)    ((n == -1 && ns == -1) || (n > 0 && n >= ns))

Definition at line 81 of file XrdProofdProtocol.cxx.

#define XPDSETINT (   n,
  ns,
  i,
 
)
Value:
{ if (XPDCOND(n,ns)) { \
i = strtol(s.c_str(),0,10); ns = n; }}
#define XPDCOND(n, ns)
const Int_t n
Definition: legend1.C:16

Definition at line 100 of file XrdProofdProtocol.cxx.

#define XPDSETSTRING (   n,
  ns,
  c,
 
)
Value:
{ if (XPDCOND(n,ns)) { \
SafeFree(c); c = strdup(s.c_str()); ns = n; }}
#define XPDCOND(n, ns)
#define SafeFree(x)
Definition: XrdProofdAux.h:341
const Int_t n
Definition: legend1.C:16

Definition at line 84 of file XrdProofdProtocol.cxx.

Typedef Documentation

typedef struct ResetCtrlcGuard ResetCtrlcGuard_t

Function Documentation

XrdProtocol* XrdgetProtocol ( const char *  ,
char *  parms,
XrdProtocol_Config *  pi 
)

This protocol is meant to live in a shared library.

The interface below is used by the server to obtain a copy of the protocol object that can be used to decide whether or not a link is talking a particular protocol.

Definition at line 181 of file XrdProofdProtocol.cxx.

int XrdgetProtocolPort ( const char *  ,
char *  ,
XrdProtocol_Config *  pi 
)

This function is called early on to determine the port we need to use.

The The default is ostensibly 1093 but can be overidden; which we allow.

Definition at line 195 of file XrdProofdProtocol.cxx.

Variable Documentation

XrdSysLogger gMainLogger
static

Definition at line 53 of file XrdProofdProtocol.cxx.

XrdOucTrace* XrdProofdTrace = 0

Definition at line 50 of file XrdProofdProtocol.cxx.

Referenced by XrdProofdProtocol::Configure(), and XrdgetProtocolPort().