tor/src/or/protover_rust.c

20 lines
438 B
C
Raw Normal View History

2017-09-27 21:48:07 +02:00
/* Copyright (c) 2016-2017, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/*
* \file protover_rust.c
* \brief Provide a C wrapper for functions exposed in /src/rust/protover,
* and safe translation/handling between the Rust/C boundary.
*/
#include "or.h"
#include "protover.h"
#ifdef HAVE_RUST
/* Define for compatibility, used in main.c */
2017-10-27 23:58:50 +02:00
void protover_free_all(void) {}
2017-09-27 21:48:07 +02:00
#endif /* defined(HAVE_RUST) */
2017-09-27 21:48:07 +02:00