xrootd
Main Page
Namespaces
Classes
Files
File List
File Members
src
XrdClient
XrdClientProtocol.hh
Go to the documentation of this file.
1
2
// //
3
// XrdClientProtocol //
4
// //
5
// Author: Fabrizio Furano (INFN Padova, 2004) //
6
// Adapted from TXNetFile (root.cern.ch) originally done by //
7
// Alvise Dorigo, Fabrizio Furano //
8
// INFN Padova, 2003 //
9
// //
10
// utility functions to deal with the protocol //
11
// //
13
14
// $Id$
15
16
#ifndef XRD_CPROTOCOL_H
17
#define XRD_CPROTOCOL_H
18
19
#include "
XProtocol/XProtocol.hh
"
20
21
22
void
clientMarshall
(
ClientRequest
* str);
23
void
clientMarshallReadAheadList
(
readahead_list
*buf_list,
kXR_int32
dlen);
24
void
clientUnMarshallReadAheadList
(
readahead_list
*buf_list,
kXR_int32
dlen);
25
void
clientUnmarshall
(
struct
ServerResponseHeader
* str);
26
27
void
ServerResponseHeader2NetFmt
(
struct
ServerResponseHeader
*srh);
28
void
ServerInitHandShake2HostFmt
(
struct
ServerInitHandShake
*srh);
29
30
bool
isRedir
(
struct
ServerResponseHeader
*
ServerResponse
);
31
32
char
*
convertRequestIdToChar
(
kXR_unt16
requestid);
33
34
void
PutFilehandleInRequest
(
ClientRequest
* str,
char
*fHandle);
35
36
char
*
convertRespStatusToChar
(
kXR_unt16
status);
37
38
void
smartPrintClientHeader
(
ClientRequest
* hdr);
39
void
smartPrintServerHeader
(
struct
ServerResponseHeader
* hdr);
40
41
42
#endif
Generated by
1.8.1.2