/usr/include/root/rpddefs.h is in libroot-net-auth-dev 5.34.30-0ubuntu8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | // @(#)root/rpdutils:$Id$
// Author: Gerardo Ganis 7/4/2003
/*************************************************************************
* 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_rpddefs
#define ROOT_rpddefs
/////////////////////////////////////////////////////////////////////
// //
// Definition used by daemons //
// //
/////////////////////////////////////////////////////////////////////
#ifndef ROOT_AuthConst
#include "AuthConst.h"
#endif
//
// Typedefs
typedef void (*SigPipe_t)(int);
//
// Global consts
const int kMAXRECVBUF = 1024;
const int kMAXUSERLEN = 128;
// Masks for initialization options
const unsigned int kDMN_RQAUTH = 0x1; // Require authentication
const unsigned int kDMN_HOSTEQ = 0x2; // Allow host equivalence
const unsigned int kDMN_SYSLOG = 0x4; // Log messages to syslog i.o. stderr
//
// type of service
enum EService { kSOCKD = 0, kROOTD, kPROOFD };
#endif
|