/usr/include/zorp/connection.h is in libzorp-dev 3.9.5-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | #ifndef ZORP_CONNECTION_H_INCLUDED
#define ZORP_CONNECTION_H_INCLUDED
#include <zorp/zorp.h>
#include <zorp/stream.h>
#include <zorp/sockaddr.h>
enum
{
ZD_PROTO_AUTO = 0,
ZD_PROTO_TCP = 1,
ZD_PROTO_UDP = 2,
};
typedef struct _ZConnection
{
guint protocol;
ZStream *stream;
ZSockAddr *remote; /* the peer's address */
ZSockAddr *local; /* the explicit local address (no wildcard port spec) */
ZSockAddr *dest; /* the original destination of the client */
struct _ZDispatchBind *dispatch_bind;
} ZConnection;
ZConnection *z_connection_new(void);
gchar *z_connection_format(ZConnection *conn, gchar *buf, gint buflen);
void z_connection_destroy(ZConnection *conn, gboolean close);
#endif
|