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
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 */