aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-tcp-stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-tcp-stream.h')
-rw-r--r--camel/camel-tcp-stream.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/camel/camel-tcp-stream.h b/camel/camel-tcp-stream.h
index 79d3f90f08..68153d3734 100644
--- a/camel/camel-tcp-stream.h
+++ b/camel/camel-tcp-stream.h
@@ -100,7 +100,8 @@ typedef struct {
int (*connect) (CamelTcpStream *stream, struct hostent *host, int port);
int (*getsockopt) (CamelTcpStream *stream, CamelSockOptData *data);
int (*setsockopt) (CamelTcpStream *stream, const CamelSockOptData *data);
-
+
+ gpointer (*get_socket) (CamelTcpStream *stream);
} CamelTcpStreamClass;
/* Standard Camel function */
@@ -111,6 +112,8 @@ int camel_tcp_stream_connect (CamelTcpStream *stream, struct hostent
int camel_tcp_stream_getsockopt (CamelTcpStream *stream, CamelSockOptData *data);
int camel_tcp_stream_setsockopt (CamelTcpStream *stream, const CamelSockOptData *data);
+gpointer camel_tcp_stream_get_socket (CamelTcpStream *stream);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */