|
Gnash
0.8.10
|
#include "URLAccessManager.h"#include "URL.h"#include "log.h"#include "StringPredicates.h"#include "rc.h"#include "GnashSystemNetHeaders.h"#include <cerrno>#include <algorithm>#include <cstring>#include <cstdio>#include <map>#include <string>#include <vector>#include <cassert>Namespaces | |
| namespace | gnash |
Anonymous namespace for callbacks, local functions, event handlers etc. | |
| namespace | gnash::URLAccessManager |
Manage a list of URL access configuration. | |
Defines | |
| #define | MAXHOSTNAMELEN 200 |
Typedefs | |
| typedef std::map< std::string, AccessPolicy > | gnash::URLAccessManager::AccessPolicyCache |
| A cache of AccessPolicy defined for URLs. | |
Enumerations | |
| enum | gnash::URLAccessManager::AccessPolicy { gnash::URLAccessManager::BLOCK, gnash::URLAccessManager::GRANT } |
| Possible access policies for URLs. More... | |
Functions | |
| const char * | gnash::URLAccessManager::accessPolicyString (AccessPolicy policy) |
| bool | gnash::URLAccessManager::allowHost (const std::string &host) |
| bool | gnash::URLAccessManager::allowXMLSocket (const std::string &host, short port) |
| bool | gnash::URLAccessManager::allow (const URL &url, const URL &baseurl) |
| Return true if access to given url is allowed, false otherwise. | |
| #define MAXHOSTNAMELEN 200 |
1.7.6.1