mirror of
https://repo.or.cz/socat.git
synced 2025-07-12 06:33:24 +00:00
New option netns for network namespace setting
This commit is contained in:
parent
c82e3df210
commit
f152c55584
26 changed files with 686 additions and 119 deletions
2
sycls.h
2
sycls.h
|
@ -167,6 +167,7 @@ void Abort(void);
|
|||
int Mkstemp(char *template);
|
||||
int Setenv(const char *name, const char *value, int overwrite);
|
||||
void Unsetenv(const char *name);
|
||||
int Setns(int fd, int nstype);
|
||||
#endif /* WITH_SYCLS */
|
||||
#if WITH_SYCLS
|
||||
|
||||
|
@ -271,6 +272,7 @@ void Add_history(const char *string);
|
|||
#define Mkstemp(t) mkstemp(t)
|
||||
#define Setenv(n,v,o) setenv(n,v,o)
|
||||
#define Unsetenv(n) unsetenv(n)
|
||||
#define Setns(f,n) setns(f,n)
|
||||
|
||||
#define Readline(p) readline(p)
|
||||
#define Using_history() using_history()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue