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
|
|
|
|
2017-11-21 20:07:43 +01:00
|
|
|
#endif /* defined(HAVE_RUST) */
|
2017-09-27 21:48:07 +02:00
|
|
|
|