Codebase list slirp4netns / 5763e9d9-2172-4d82-9987-a81391111f82/upstream api.h
5763e9d9-2172-4d82-9987-a81391111f82/upstream

Tree @5763e9d9-2172-4d82-9987-a81391111f82/upstream (Download .tar.gz)

api.h @5763e9d9-2172-4d82-9987-a81391111f82/upstreamraw · history · blame

/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef SLIRP4NETNS_API_H
# define SLIRP4NETNS_API_H
int api_bindlisten(const char *api_socket);
struct api_ctx;
struct slirp4netns_config;
struct api_ctx *api_ctx_alloc(struct slirp4netns_config *cfg);
void api_ctx_free(struct api_ctx *ctx);
int api_handler(Slirp * slirp, int listenfd, struct api_ctx *ctx);
#endif