xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
XrdHttpUtils.hh File Reference

Utility functions for XrdHTTP. More...

#include "XProtocol/XPtypes.hh"
#include "XrdSec/XrdSecEntity.hh"
Include dependency graph for XrdHttpUtils.hh:
This graph shows which files directly or indirectly include this file:

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)
 
char * escapeXML (const 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 
)
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)