Codebase list slirp4netns / e1854e04-3959-44ef-bb72-818ab3135d0d/main api.h
e1854e04-3959-44ef-bb72-818ab3135d0d/main

Tree @e1854e04-3959-44ef-bb72-818ab3135d0d/main (Download .tar.gz)

api.h @e1854e04-3959-44ef-bb72-818ab3135d0d/mainraw · 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