summaryrefslogtreecommitdiff
path: root/libsoup/soup-connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsoup/soup-connection.h')
-rw-r--r--libsoup/soup-connection.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libsoup/soup-connection.h b/libsoup/soup-connection.h
index 45e80b2c..f1a8f376 100644
--- a/libsoup/soup-connection.h
+++ b/libsoup/soup-connection.h
@@ -34,6 +34,14 @@ typedef struct {
GType soup_connection_get_type (void);
+typedef enum {
+ SOUP_CONNECTION_NEW,
+ SOUP_CONNECTION_CONNECTING,
+ SOUP_CONNECTION_IDLE,
+ SOUP_CONNECTION_IN_USE,
+ SOUP_CONNECTION_REMOTE_DISCONNECTED,
+ SOUP_CONNECTION_DISCONNECTED
+} SoupConnectionState;
#define SOUP_CONNECTION_REMOTE_URI "remote-uri"
#define SOUP_CONNECTION_SOCKET_PROPERTIES "socket-properties"