Namespaces |
namespace | checksums |
Classes |
struct | SecurityCredentials |
| Security credentials. To be filled by the front-end. More...
|
struct | UserInfo |
struct | GroupInfo |
struct | SecurityContext |
| Security context. To be created by the Authn. More...
|
class | Authn |
class | AuthnFactory |
| AuthnFactory. More...
|
class | BaseInterface |
| Base class for interfaces. More...
|
class | BaseFactory |
| Base class for factories. More...
|
struct | Directory |
| Typedef for directories. More...
|
class | Catalog |
| Interface for Catalog (Namespaces). More...
|
class | CatalogFactory |
| Plug-ins must implement a concrete factory to be instantiated. More...
|
class | PluginManager |
| CatalogInterface can only be instantiated through this class. More...
|
class | StackInstance |
struct | PluginIdCard |
| Joint between plugins and plugin-manager. More...
|
class | DummyCatalog |
class | DummyPoolManager |
class | DmException |
| Base exception class. More...
|
struct | IDirectory |
| Typedef for directories. More...
|
struct | ExtendedStat |
| File/directory metadata. More...
|
struct | SymLink |
| Symbolic link. More...
|
struct | Replica |
| File replica metadata. More...
|
class | INode |
class | INodeFactory |
| INodeFactory. More...
|
class | InodeTrans |
| Convenience class that releases a resource on destruction. More...
|
class | IOHandler |
| IO interface. More...
|
class | IODriver |
| IO Driver. More...
|
class | IODriverFactory |
| Plug-ins must implement a concrete factory to be instantiated. More...
|
struct | Chunk |
| Represents a chunk of a file. More...
|
struct | Location |
| Represent the complete location of a file. More...
|
class | PoolHandler |
| Handler for a pool. Works similary to a file handler. More...
|
class | PoolDriver |
| Interface for a pool driver. More...
|
class | PoolDriverFactory |
| PoolDriver factory. More...
|
struct | Pool |
| Internal interface for handling pool metadata. More...
|
struct | xferprogmarker |
| Progress markers for file copies. FTS jargon calls these "FTS performance markers" beware, we assume that this structure is identical to the one defined in the C API. More...
|
class | PoolManager |
| Interface for pool types. More...
|
class | PoolManagerFactory |
| Plug-ins must implement a concrete factory to be instantiated. More...
|
class | DmStatus |
struct | Extensible |
| Helpful typedef for KeyValue containers. More...
|
class | MySqlConnectionFactory |
class | MySqlHolder |
| Holder of mysql connections, base class singleton holding the mysql conn pool. More...
|
class | PoolElementFactory |
class | PoolContainer |
| Implements a pool of whichever resource. More...
|
class | PoolGrabber |
| Convenience class that releases a resource on destruction. More...
|
struct | AclEntry |
| ACL Entry. More...
|
struct | Acl |
struct | Url |
class | BuiltInAuthn |
class | BuiltInAuthnFactory |
struct | BuiltInDir |
class | BuiltInCatalog |
class | BuiltInCatalogFactory |
| Plug-ins must implement a concrete factory to be instantiated. More...
|
class | DavixStuff |
class | DavixCtxFactory |
class | DavixCtxPool |
class | DavixGrabber |
struct | DomeCredentials |
class | DomeTalker |
class | Statement |
| Prepared statement wrapper. More...
|
class | dmTask |
class | dmTaskExec |
Typedefs |
typedef struct
dmlite::xferprogmarker | xferprogmarker |
| Progress markers for file copies. FTS jargon calls these "FTS performance markers" beware, we assume that this structure is identical to the one defined in the C API.
|
Enumerations |
enum | TokenResult {
kTokenOK = 0,
kTokenMalformed,
kTokenInvalid,
kTokenExpired,
kTokenInvalidMode,
kTokenInternalError
} |
| Possible outputs for validateToken.
More...
|
enum | DomeHttpCode {
DOME_HTTP_OK = 200,
DOME_HTTP_BAD_REQUEST = 400,
DOME_HTTP_DENIED = 403,
DOME_HTTP_NOT_FOUND = 404,
DOME_HTTP_CONFLICT = 409,
DOME_HTTP_UNPROCESSABLE = 422,
DOME_HTTP_INTERNAL_SERVER_ERROR = 500,
DOME_HTTP_INSUFFICIENT_STORAGE = 507
} |
Functions |
void | destroy_thread (void *) |
void | init_thread (void) |
bool | hasGroup (const std::vector< GroupInfo > &groups, gid_t gid) |
int | checkPermissions (const SecurityContext *context, const Acl &acl, const struct::stat &stat, mode_t mode) |
std::string | voFromDn (const std::string &mapfile, const std::string &dn) |
std::string | voFromRole (const std::string &role) |
std::string | getCertificateSubject (const std::string &path) |
| Get the subject from the certificate.
|
std::string | generateToken (const std::string &id, const std::string &pfn, const std::string &passwd, time_t lifetime, bool write=false) |
TokenResult | validateToken (const std::string &token, const std::string &id, const std::string &pfn, const std::string &passwd, bool write=false) |
int | http_status (const DmException &e) |
int | http_status (const DmStatus &e) |
Variables |
const unsigned | API_VERSION = 20121218 |
| API Version.
|
Logger::bitmask | stackinstancelogmask |
Logger::component | stackinstancelogname |
pthread_once_t | initialize_mysql_thread |
pthread_key_t | destructor_key |
Logger::bitmask | davixpoollogmask |
Logger::component | davixpoollogname |
Logger::bitmask | mysqllogmask |
Logger::component | mysqllogname |