Skip to content

File tracer.h

File List > docs > sandwich_c > tracer.h

Go to the documentation of this file

// Copyright (c) SandboxAQ. All rights reserved.
// SPDX-License-Identifier: AGPL-3.0-only


#pragma once

#include <sys/types.h>

#include "sandwich_c/export.h"
#include "sandwich_c/tunnel.h"

#ifdef __cplusplus
extern "C" {
#endif

SANDWICH_API void sandwich_tunnel_add_tracer(struct SandwichTunnel *tun, const char *context_cstr, int fd);

#ifdef __cplusplus
} // end extern "C"
#endif