/* sunone-message.h * * Copyright (C) 2002-2004 Sun Microsystems, Inc * * AUTHORS * Jack Jia * Harry Lu * Alfred Peng * Rodrigo Moya * */ #ifndef SUNONE_MESSAGE_H #define SUNONE_MESSAGE_H #include #include #include "sunone-error-codes.h" G_BEGIN_DECLS void sunone_message_init (void); SoupMessage *sunone_message_new_from_uri (SoupUri *suri, const char *method); SoupMessage *sunone_message_new_full_from_uri (SoupUri *suri, const char *method, const char *content_type, SoupOwnership owner, char *body, gulong length); void parse_server_response (SoupMessage *msg, SoupStatusClass *error_class); void setup_message (SoupMessage *msg); G_END_DECLS #endif