namespace zeep {
namespace http {
class connection;
}
}
namespace zeep {
namespace http {
struct header;
}
}
namespace zeep {
namespace http {
class md5;
}
}
namespace zeep {
namespace http {
class reply;
enum status_type { cont = = 100,
ok = = 200,
created = = 201,
accepted = = 202,
no_content = = 204,
multiple_choices = = 300,
moved_permanently = = 301,
moved_temporarily = = 302,
not_modified = = 304,
bad_request = = 400,
unauthorized = = 401,
forbidden = = 403,
not_found = = 404,
method_not_allowed = = 405,
proxy_authentication_required = = 407,
internal_server_error = = 500,
not_implemented = = 501,
bad_gateway = = 502,
service_unavailable = = 503 };
std::string get_status_text(status_type status);
std::string get_status_description(status_type status);
std::ostream & operator<<(std::ostream &, reply &);
}
}
namespace zeep {
namespace http {
struct request;
std::iostream & operator<<(std::iostream & io, request & req);
}
}
namespace zeep {
class server;
}
namespace zeep {
namespace http {
class server;
std::string decode_url(const std::string &);
std::string encode_url(const std::string &);
}
}
namespace zeep {
namespace xml {
namespace doctype {
struct allowed_any;
struct allowed_base;
struct allowed_choice;
struct allowed_element;
struct allowed_empty;
struct allowed_repeated;
struct allowed_seq;
class attribute;
class element;
class entity;
class general_entity;
class parameter_entity;
class validator;
enum AttributeType { attTypeString, attTypeTokenizedID,
attTypeTokenizedIDREF, attTypeTokenizedIDREFS,
attTypeTokenizedENTITY, attTypeTokenizedENTITIES,
attTypeTokenizedNMTOKEN, attTypeTokenizedNMTOKENS,
attTypeNotation, attTypeEnumerated };
enum AttributeDefault { attDefNone, attDefRequired, attDefImplied,
attDefFixed, attDefDefault };
typedef std::vector< entity * > entity_list;
typedef std::vector< element * > element_list;
typedef std::vector< attribute * > attribute_list;
typedef allowed_base * allowed_ptr;
typedef std::list< allowed_ptr > allowed_list;
typedef state_base * state_ptr;
std::ostream & operator<<(std::ostream & lhs, validator & rhs);
}
}
}
namespace zeep {
namespace xml {
class document;
std::istream & operator>>(std::istream & lhs, document & rhs);
std::ostream & operator<<(std::ostream & lhs, const document & rhs);
void process_document_elements(std::istream & data,
const std::string & element_xpath,
boost::function< bool(node *doc_root, element *e)> cb);
}
}
namespace zeep {
namespace xml {
enum encoding_type { enc_UTF8, enc_UTF16BE, enc_UTF16LE, enc_ISO88591 };
typedef boost::uint32_t unicode;
bool is_name_start_char(unicode uc);
bool is_name_char(unicode uc);
bool is_char(unicode uc);
bool is_valid_system_literal_char(unicode uc);
bool is_valid_system_literal(const std::string & s);
bool is_valid_public_id_char(unicode uc);
bool is_valid_public_id(const std::string & s);
std::string wstring_to_string(const std::wstring & s);
void append(std::string & s, unicode ch);
unicode pop_last_char(std::string & s);
}
}
namespace zeep {
namespace xml {
class writer;
}
}
namespace zeep {
namespace xml {
class context;
class xpath;
}
}