+2008-02-25 Benjamin Otte <otte@gnome.org>
+
+ * libsoup/soup-address.h:
+ * libsoup/soup-auth-domain.h:
+ * libsoup/soup-auth.h:
+ * libsoup/soup-message.h:
+ * libsoup/soup-server.h:
+ * libsoup/soup-session-async.h:
+ * libsoup/soup-session-sync.h:
+ * libsoup/soup-session.h:
+ * libsoup/soup-socket.h:
+ * libsoup/soup-types.h:
+ * libsoup/soup-uri.h:
+ use an underscore for struct definitions. Fixes bug #518317.
+
2008-02-20 Sebastian Dröge <slomo@circular-chaos.org>
* libsoup.pc.in: Add gobject-2.0 and gio-2.0 to Requires.
#define SOUP_IS_ADDRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), SOUP_TYPE_ADDRESS))
#define SOUP_ADDRESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SOUP_TYPE_ADDRESS, SoupAddressClass))
-struct SoupAddress {
+struct _SoupAddress {
GObject parent;
};
#define SOUP_IS_AUTH_DOMAIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), SOUP_TYPE_AUTH_DOMAIN))
#define SOUP_AUTH_DOMAIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SOUP_TYPE_AUTH_DOMAIN, SoupAuthDomainClass))
-struct SoupAuthDomain {
+struct _SoupAuthDomain {
GObject parent;
};
#define SOUP_IS_AUTH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), SOUP_TYPE_AUTH))
#define SOUP_AUTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SOUP_TYPE_AUTH, SoupAuthClass))
-struct SoupAuth {
+struct _SoupAuth {
GObject parent;
char *realm;
#define SOUP_IS_MESSAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), SOUP_TYPE_MESSAGE))
#define SOUP_MESSAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SOUP_TYPE_MESSAGE, SoupMessageClass))
-struct SoupMessage {
+struct _SoupMessage {
GObject parent;
/*< public >*/
GType soup_client_context_get_type (void);
#define SOUP_TYPE_CLIENT_CONTEXT (soup_client_context_get_type ())
-struct SoupServer {
+struct _SoupServer {
GObject parent;
};
#define SOUP_IS_SESSION_ASYNC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), SOUP_TYPE_SESSION_ASYNC))
#define SOUP_SESSION_ASYNC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SOUP_TYPE_SESSION_ASYNC, SoupSessionAsyncClass))
-struct SoupSessionAsync {
+struct _SoupSessionAsync {
SoupSession parent;
};
#define SOUP_IS_SESSION_SYNC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), SOUP_TYPE_SESSION_SYNC))
#define SOUP_SESSION_SYNC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SOUP_TYPE_SESSION_SYNC, SoupSessionSyncClass))
-struct SoupSessionSync {
+struct _SoupSessionSync {
SoupSession parent;
};
SoupMessage *msg,
gpointer user_data);
-struct SoupSession {
+struct _SoupSession {
GObject parent;
};
#define SOUP_IS_SOCKET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), SOUP_TYPE_SOCKET))
#define SOUP_SOCKET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SOUP_TYPE_SOCKET, SoupSocketClass))
-struct SoupSocket {
+struct _SoupSocket {
GObject parent;
};
G_BEGIN_DECLS
-typedef struct SoupAddress SoupAddress;
-typedef struct SoupAuth SoupAuth;
-typedef struct SoupAuthDomain SoupAuthDomain;
-typedef struct SoupMessage SoupMessage;
-typedef struct SoupServer SoupServer;
-typedef struct SoupSession SoupSession;
-typedef struct SoupSessionAsync SoupSessionAsync;
-typedef struct SoupSessionSync SoupSessionSync;
-typedef struct SoupSocket SoupSocket;
-typedef struct SoupURI SoupURI;
+typedef struct _SoupAddress SoupAddress;
+typedef struct _SoupAuth SoupAuth;
+typedef struct _SoupAuthDomain SoupAuthDomain;
+typedef struct _SoupMessage SoupMessage;
+typedef struct _SoupServer SoupServer;
+typedef struct _SoupSession SoupSession;
+typedef struct _SoupSessionAsync SoupSessionAsync;
+typedef struct _SoupSessionSync SoupSessionSync;
+typedef struct _SoupSocket SoupSocket;
+typedef struct _SoupURI SoupURI;
G_END_DECLS
G_BEGIN_DECLS
-struct SoupURI {
+struct _SoupURI {
const char *scheme;
char *user;