xrootd
|
Utility functions for XrdHTTP. More...
#include "XProtocol/XPtypes.hh"
#include "XrdSec/XrdSecEntity.hh"
#include "XrdOuc/XrdOucIOVec.hh"
#include <string>
#include <vector>
Go to the source code of this file.
Typedefs | |
typedef std::vector< XrdOucIOVec2 > | XrdHttpIOList |
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) |
char * | escapeXML (const char *str) |
Utility functions for XrdHTTP.
typedef std::vector<XrdOucIOVec2> XrdHttpIOList |
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 | ||
) |
char * escapeXML | ( | const char * | str | ) |
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 | ) |