Commit 026c15a8 authored by Olivier Crête's avatar Olivier Crête

pseudotcp: Make structs definitions private

parent 11d4bb97
...@@ -77,8 +77,19 @@ ...@@ -77,8 +77,19 @@
#include "pseudotcp.h" #include "pseudotcp.h"
#include "agent-priv.h" #include "agent-priv.h"
G_DEFINE_TYPE (PseudoTcpSocket, pseudo_tcp_socket, G_TYPE_OBJECT); struct _PseudoTcpSocketClass {
GIOStreamClass parent_class;
};
typedef struct _PseudoTcpSocketPrivate PseudoTcpSocketPrivate;
struct _PseudoTcpSocket {
GIOStream parent;
PseudoTcpSocketPrivate *priv;
};
G_DEFINE_TYPE (PseudoTcpSocket, pseudo_tcp_socket, G_TYPE_OBJECT);
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
// Network Constants // Network Constants
......
...@@ -115,17 +115,6 @@ GType pseudo_tcp_socket_get_type (void); ...@@ -115,17 +115,6 @@ GType pseudo_tcp_socket_get_type (void);
(G_TYPE_INSTANCE_GET_CLASS ((obj), PSEUDO_TCP_SOCKET_TYPE, \ (G_TYPE_INSTANCE_GET_CLASS ((obj), PSEUDO_TCP_SOCKET_TYPE, \
PseudoTcpSocketClass)) PseudoTcpSocketClass))
struct _PseudoTcpSocketClass {
GObjectClass parent_class;
};
typedef struct _PseudoTcpSocketPrivate PseudoTcpSocketPrivate;
struct _PseudoTcpSocket {
GObject parent;
PseudoTcpSocketPrivate *priv;
};
/** /**
* PseudoTcpDebugLevel: * PseudoTcpDebugLevel:
* @PSEUDO_TCP_DEBUG_NONE: Disable debug messages * @PSEUDO_TCP_DEBUG_NONE: Disable debug messages
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment