socat/xio-ip4.h

19 lines
638 B
C
Raw Normal View History

2008-01-28 21:37:16 +00:00
/* source: xio-ip4.h */
/* Copyright Gerhard Rieger and contributors (see file CHANGES) */
2008-01-27 12:00:08 +00:00
/* Published under the GNU General Public License V.2, see file COPYING */
#ifndef __xio_ip4_h_included
#define __xio_ip4_h_included 1
extern const struct optdesc opt_ip4_add_membership;
int xioparsenetwork_ip4(const char *rangename, struct xiorange *range);
2008-01-27 12:00:08 +00:00
extern
int xiocheckrange_ip4(struct sockaddr_in *pa, struct xiorange *range);
2008-09-22 20:17:55 +00:00
extern int
xiosetsockaddrenv_ip4(int idx, char *namebuff, size_t namelen,
char *valuebuff, size_t valuelen,
struct sockaddr_in *sa, int ipproto);
2008-01-27 12:00:08 +00:00
#endif /* !defined(__xio_ip4_h_included) */