Version 1.8.0.0
[socat.git] / xio-namespaces.h
blob0b5d4bf9cd5bc4e7c45e366825b02f5842b2ec0b
1 /* Source: xio-namespaces.h */
2 /* Copyright Gerhard Rieger and contributors (see file CHANGES) */
3 /* Published under the GNU General Public License V.2, see file COPYING */
5 #ifndef __xio_namespaces_h_included
6 #define __xio_namespaces_h_included 1
8 #if WITH_NAMESPACES
10 extern const struct optdesc opt_set_netns;
11 extern const struct optdesc opt_reset_netns;
13 extern int xio_set_namespace(const char *nstype, const char *nsname);
14 extern int xio_apply_namespace(struct opt *opts);
15 extern int xio_reset_namespace(int saved_netfd);
17 #endif /* WITH_NAMESPACES */
19 #endif /* __xio_namespaces_h_included */