Loading [MathJax]/extensions/tex2jax.js
ROOT
6.12/07
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
+
Namespaces
Namespace List
+
Namespace Members
+
All
<
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
<
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
u
w
x
+
Enumerations
a
e
f
g
m
p
t
w
y
+
Enumerator
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
w
+
All Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
+
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
w
y
+
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Properties
f
+
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Files
File List
+
File Members
+
All
1
2
3
4
5
6
7
8
9
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerations
c
e
f
i
l
m
p
r
u
x
+
Enumerator
a
c
d
e
f
g
h
i
k
l
n
o
p
r
s
v
w
+
Macros
1
2
3
4
5
6
7
8
9
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
net
auth
src
DaemonUtils.h
Go to the documentation of this file.
1
// @(#)root/auth:$Id$
2
// Author: Gerri Ganis 19/1/2004
3
4
/*************************************************************************
5
* Copyright (C) 1995-2003, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#ifndef ROOT_DaemonUtils
13
#define ROOT_DaemonUtils
14
15
16
//////////////////////////////////////////////////////////////////////////
17
// //
18
// DaemonUtils //
19
// //
20
// This file defines wrappers to client utils calls used by server //
21
// authentication daemons. //
22
// //
23
//////////////////////////////////////////////////////////////////////////
24
25
#include <string>
26
27
#include "
TSocket.h
"
28
#include "
TSeqCollection.h
"
29
#include "
NetErrors.h
"
30
#include "rpddefs.h"
31
32
#include "rpdp.h"
33
34
35
extern
Int_t
SrvAuthImpl
(
TSocket
*socket,
const
char
*,
const
char
*,
36
std::string &user,
Int_t
&meth,
37
Int_t
&
type
, std::string &ctoken,
TSeqCollection
*);
38
extern
Int_t
SrvClupImpl
(
TSeqCollection
*);
39
40
typedef
void
(*
ErrorHandler_t
)(
int
level,
const
char
*msg,
int
size);
41
42
43
namespace
ROOT
{
44
45
// Error handlers prototypes ...
46
extern
ErrorHandler_t
gErrSys
;
47
extern
ErrorHandler_t
gErrFatal
;
48
extern
ErrorHandler_t
gErr
;
49
void
SrvSetSocket
(
TSocket
*socket);
50
51
}
52
53
#endif
ROOT
Namespace for new ROOT classes and functions.
Definition:
StringConv.hxx:21
TSeqCollection.h
ROOT::gErrFatal
ErrorHandler_t gErrFatal
Int_t
int Int_t
Definition:
RtypesCore.h:41
NetErrors.h
SrvClupImpl
Int_t SrvClupImpl(TSeqCollection *)
Wrapper to cleanup code.
Definition:
DaemonUtils.cxx:189
TSocket.h
TSeqCollection
Sequenceable collection abstract base class.
Definition:
TSeqCollection.h:28
ROOT::SrvSetSocket
void SrvSetSocket(TSocket *Socket)
Fill socket parameters.
Definition:
DaemonUtils.cxx:314
ErrorHandler_t
void(* ErrorHandler_t)(int level, const char *msg, int size)
Definition:
DaemonUtils.h:40
SrvAuthImpl
Int_t SrvAuthImpl(TSocket *socket, const char *, const char *, std::string &user, Int_t &meth, Int_t &type, std::string &ctoken, TSeqCollection *)
Server authentication code.
Definition:
DaemonUtils.cxx:210
type
int type
Definition:
TGX11.cxx:120
TSocket
Definition:
TSocket.h:60
void
typedef void((*Func_t)())
ROOT::gErr
ErrorHandler_t gErr
ROOT::gErrSys
ErrorHandler_t gErrSys