/*
 * SPDX-License-Identifier: BSD-2-Clause
 *
 * Copyright 2010-2022, Tarantool AUTHORS, please see AUTHORS file.
 */

#pragma once

#if defined(__cplusplus)
extern "C" {
#endif /* defined(__cplusplus) */

struct lua_State;

/**
 * Initializes `box.iproto` submodule for working with Tarantool network
 * subsystem.
 */
void
box_lua_iproto_init(struct lua_State *L);

/**
 * Frees `box.iproto` submodule.
 */
void
box_lua_iproto_free(void);

#if defined(__cplusplus)
} /* extern "C" */
#endif /* defined(__cplusplus) */
