protover_rust.c 438 B

12345678910111213141516171819
  1. /* Copyright (c) 2016-2017, The Tor Project, Inc. */
  2. /* See LICENSE for licensing information */
  3. /*
  4. * \file protover_rust.c
  5. * \brief Provide a C wrapper for functions exposed in /src/rust/protover,
  6. * and safe translation/handling between the Rust/C boundary.
  7. */
  8. #include "or.h"
  9. #include "protover.h"
  10. #ifdef HAVE_RUST
  11. /* Define for compatibility, used in main.c */
  12. void protover_free_all(void) {}
  13. #endif /* defined(HAVE_RUST) */