File: xio-namespaces.h

package info (click to toggle)
socat 1.8.0.3-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,240 kB
  • sloc: ansic: 34,569; sh: 18,950; makefile: 157
file content (19 lines) | stat: -rw-r--r-- 600 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Source: xio-namespaces.h */
/* Copyright Gerhard Rieger and contributors (see file CHANGES) */
/* Published under the GNU General Public License V.2, see file COPYING */

#ifndef __xio_namespaces_h_included
#define __xio_namespaces_h_included 1

#if WITH_NAMESPACES

extern const struct optdesc opt_set_netns;
extern const struct optdesc opt_reset_netns;

extern int xio_set_namespace(const char *nstype, const char *nsname);
extern int xio_apply_namespace(struct opt *opts);
extern int xio_reset_namespace(int saved_netfd);

#endif /* WITH_NAMESPACES */

#endif /* __xio_namespaces_h_included */