|
XRootD
|
Utility functions for XrdHTTP. More...
#include "XProtocol/XPtypes.hh"#include "XrdSec/XrdSecEntity.hh"#include "XrdOuc/XrdOucIOVec.hh"#include <string>#include <vector>
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.
Typedefs | |
| typedef std::vector< XrdOucIOVec2 > | XrdHttpIOList |
Functions | |
| 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) |
| typedef std::vector<XrdOucIOVec2> XrdHttpIOList |
Definition at line 95 of file XrdHttpUtils.hh.
| void calcHashes | ( | char * | hash, |
| const char * | fn, | ||
| kXR_int16 | req, | ||
| XrdSecEntity * | secent, | ||
| time_t | tim, | ||
| const char * | key ) |
Definition at line 219 of file XrdHttpUtils.cc.
References HMAC_CTX_free(), HMAC_CTX_new(), XrdSecEntity::host, XrdSecEntity::moninfo, XrdSecEntity::name, Tobase64(), and XrdSecEntity::vorg.
Referenced by XrdHttpProtocol::Process(), and XrdHttpReq::Redir().
Here is the call graph for this function:
Here is the caller graph for this function:| int compareHash | ( | const char * | h1, |
| const char * | h2 ) |
Definition at line 355 of file XrdHttpUtils.cc.
Referenced by XrdHttpProtocol::Process().
Here is the caller graph for this function:| char * escapeXML | ( | const char * | str | ) |
Definition at line 455 of file XrdHttpUtils.cc.
Referenced by XrdHttpReq::Error().
Here is the caller graph for this function:| bool Fromhexdigest | ( | const unsigned char * | input, |
| int | length, | ||
| unsigned char * | out ) |
Definition at line 169 of file XrdHttpUtils.cc.
References char_to_int().
Here is the call graph for this function:| std::string itos | ( | long | i | ) |
Definition at line 183 of file XrdHttpUtils.cc.
| char * mystrchrnul | ( | const char * | s, |
| int | c ) |
Definition at line 193 of file XrdHttpUtils.cc.
| int parseURL | ( | char * | url, |
| char * | host, | ||
| int & | port, | ||
| char ** | path ) |
Definition at line 77 of file XrdHttpUtils.cc.
Referenced by XrdHttpReq::ProcessHTTPReq().
Here is the caller graph for this function:| char * quote | ( | const char * | str | ) |
Definition at line 404 of file XrdHttpUtils.cc.
Referenced by XrdHttpReq::appendOpaque(), XrdHttpReq::ProcessHTTPReq(), and XrdHttpReq::Redir().
Here is the caller graph for this function:| void Tobase64 | ( | const unsigned char * | input, |
| int | length, | ||
| char * | out ) |
Definition at line 121 of file XrdHttpUtils.cc.
References BIO_set_flags().
Referenced by calcHashes().
Here is the call graph for this function:
Here is the caller graph for this function:| char * unquote | ( | char * | str | ) |
Definition at line 375 of file XrdHttpUtils.cc.
Referenced by XrdHttpProtocol::Process().
Here is the caller graph for this function: