XrdHttpUtils.hh File Reference
Utility functions for XrdHTTP.
More...
Go to the source code of this file.
Functions |
int | parseURL (char *url, char *host, int &port, char **path) |
std::string | itos (long i) |
char * | mystrchrnul (const char *s, int c) |
void | calcHashes (char *hash, const char *fn, kXR_int16 req, XrdSecEntity *secent, time_t tim, const char *key) |
int | compareHash (const char *h1, const char *h2) |
bool | Fromhexdigest (const unsigned char *input, int length, unsigned char *out) |
void | Tobase64 (const unsigned char *input, int length, char *out) |
char * | quote (const char *str) |
char * | unquote (char *str) |
Detailed Description
Utility functions for XrdHTTP.
- Author:
- Fabrizio Furano
- Date:
- April 2013
Function Documentation
void calcHashes |
( |
char * |
hash, |
|
|
const char * |
fn, |
|
|
kXR_int16 |
req, |
|
|
XrdSecEntity * |
secent, |
|
|
time_t |
tim, |
|
|
const char * |
key | |
|
) |
| | |
int compareHash |
( |
const char * |
h1, |
|
|
const char * |
h2 | |
|
) |
| | |
bool Fromhexdigest |
( |
const unsigned char * |
input, |
|
|
int |
length, |
|
|
unsigned char * |
out | |
|
) |
| | |
std::string itos |
( |
long |
i |
) |
|
char* mystrchrnul |
( |
const char * |
s, |
|
|
int |
c | |
|
) |
| | |
int parseURL |
( |
char * |
url, |
|
|
char * |
host, |
|
|
int & |
port, |
|
|
char ** |
path | |
|
) |
| | |
char* quote |
( |
const char * |
str |
) |
|
void Tobase64 |
( |
const unsigned char * |
input, |
|
|
int |
length, |
|
|
char * |
out | |
|
) |
| | |
char* unquote |
( |
char * |
str |
) |
|