diff options
Diffstat (limited to 'gst/rtsp/rtspconnection.h')
-rw-r--r-- | gst/rtsp/rtspconnection.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gst/rtsp/rtspconnection.h b/gst/rtsp/rtspconnection.h index 720c1471..6af3fde9 100644 --- a/gst/rtsp/rtspconnection.h +++ b/gst/rtsp/rtspconnection.h @@ -30,23 +30,23 @@ G_BEGIN_DECLS typedef struct _RTSPConnection { - gint fd; /* our socket */ + gint fd; /* our socket */ - gint cseq; /* sequence number */ - gchar session_id[512]; /* session id */ + gint cseq; /* sequence number */ + gchar session_id[512]; /* session id */ - RTSPState state; /* state of the connection */ + RTSPState state; /* state of the connection */ } RTSPConnection; /* opening/closing a connection */ -RTSPResult rtsp_connection_open (RTSPUrl *url, RTSPConnection **conn); -RTSPResult rtsp_connection_create (gint fd, RTSPConnection **conn); -RTSPResult rtsp_connection_close (RTSPConnection *conn); -RTSPResult rtsp_connection_free (RTSPConnection *conn); +RTSPResult rtsp_connection_open (RTSPUrl *url, RTSPConnection **conn); +RTSPResult rtsp_connection_create (gint fd, RTSPConnection **conn); +RTSPResult rtsp_connection_close (RTSPConnection *conn); +RTSPResult rtsp_connection_free (RTSPConnection *conn); /* sending/receiving messages */ -RTSPResult rtsp_connection_send (RTSPConnection *conn, RTSPMessage *message); -RTSPResult rtsp_connection_receive (RTSPConnection *conn, RTSPMessage *message); +RTSPResult rtsp_connection_send (RTSPConnection *conn, RTSPMessage *message); +RTSPResult rtsp_connection_receive (RTSPConnection *conn, RTSPMessage *message); G_END_DECLS |