diff options
author | Dan Winship <danw@gnome.org> | 2009-11-22 08:41:09 -0500 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2009-11-22 08:41:09 -0500 |
commit | 6ff7ecdd6f52fb4a44cdad9cf9d5deab24645863 (patch) | |
tree | c9b551ad8fd8480ee983ced8de0c027834227e67 /libsoup/soup-misc.h | |
parent | f8ce30a570bdea4da87c69a080101846a0c21588 (diff) | |
download | libsoup-6ff7ecdd6f52fb4a44cdad9cf9d5deab24645863.tar.gz |
Changes to SoupConnection and SoupSession for debugging
Specifically, to help epiphany's soup-fly extension track connection
usage.
Patch from José Millán Soto,
https://bugzilla.gnome.org/show_bug.cgi?id=598163
Diffstat (limited to 'libsoup/soup-misc.h')
-rw-r--r-- | libsoup/soup-misc.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libsoup/soup-misc.h b/libsoup/soup-misc.h index e40fa912..8802340b 100644 --- a/libsoup/soup-misc.h +++ b/libsoup/soup-misc.h @@ -49,6 +49,15 @@ typedef enum { SOUP_SSL_ERROR_CERTIFICATE } SoupSSLError; +typedef enum { + SOUP_CONNECTION_NEW, + SOUP_CONNECTION_CONNECTING, + SOUP_CONNECTION_IDLE, + SOUP_CONNECTION_IN_USE, + SOUP_CONNECTION_REMOTE_DISCONNECTED, + SOUP_CONNECTION_DISCONNECTED +} SoupConnectionState; + G_END_DECLS #endif /* SOUP_MISC_H */ |