2021-10-19 12:43:28 +02:00
|
|
|
/* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
* Copyright (c) 2021 Red Hat GmbH
|
|
|
|
* Author: Stefano Brivio <sbrivio@redhat.com>
|
|
|
|
*/
|
|
|
|
|
2022-03-26 00:05:31 +01:00
|
|
|
#ifndef PASTA_H
|
|
|
|
#define PASTA_H
|
|
|
|
|
2022-09-12 14:24:05 +02:00
|
|
|
void pasta_open_ns(struct ctx *c, const char *userns, const char *netns);
|
2022-08-26 06:58:39 +02:00
|
|
|
void pasta_start_ns(struct ctx *c, int argc, char *argv[]);
|
2021-10-14 13:40:53 +02:00
|
|
|
void pasta_ns_conf(struct ctx *c);
|
|
|
|
void pasta_child_handler(int signal);
|
2022-02-18 16:12:11 +01:00
|
|
|
int pasta_netns_quit_init(struct ctx *c);
|
|
|
|
void pasta_netns_quit_handler(struct ctx *c, int inotify_fd);
|
2022-03-26 00:05:31 +01:00
|
|
|
|
|
|
|
#endif /* PASTA_H */
|