swh:1:snp:af87cd67498ef4fe47c76ed3e7caffe5b61facaf
Tip revision: 1627b96bc05467cd958bf7dc1f8161ffc61f686a authored by Unknown Author on 06 February 2002, 11:51:08 UTC
This commit was manufactured by cvs2svn to create tag 'v3-01-05'.
This commit was manufactured by cvs2svn to create tag 'v3-01-05'.
Tip revision: 1627b96
proofdp.h
// @(#)root/proofd:$Name: $:$Id: proofdp.h,v 1.2 2000/12/19 14:35:08 rdm Exp $
// Author: Fons Rademakers 15/12/2000
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_proofdp
#define ROOT_proofdp
//////////////////////////////////////////////////////////////////////////
// //
// proofdp //
// //
// This header file contains private definitions and declarations //
// used by proofd. //
// //
//////////////////////////////////////////////////////////////////////////
#include "Varargs.h"
#include "MessageTypes.h"
extern int gInetdFlag;
extern int gPort;
extern int gDebug;
extern int gSockFd;
extern int gAuth;
void DaemonStart(int ignsigcld);
void ErrorInit(const char *ident);
void ErrorInfo(const char *va_(fmt), ...);
void ErrorSys(const char *va_(fmt), ...);
void ErrorFatal(const char *va_(fmt), ...);
int GetErrno();
void ResetErrno();
void NetInit(const char *service, int port, int tcpwindowsize);
int NetOpen(int inetdflag);
void NetClose();
void NetSetOptions(int sock, int tcpwindowsize);
int NetSendRaw(const void *buf, int len);
int NetSend(const void *buf, int len, EMessageTypes kind);
int NetSend(int code, EMessageTypes kind);
int NetSend(const char *msg, EMessageTypes kind = kMESS_STRING);
int NetRecvRaw(void *buf, int len);
int NetRecv(void *&buf, int &len, EMessageTypes &kind);
int NetRecv(char *msg, int len, EMessageTypes &kind);
int NetRecv(char *msg, int len);
#endif