circuitmux_ewma.h 576 B

1234567891011121314151617181920212223
  1. /* * Copyright (c) 2012-2017, The Tor Project, Inc. */
  2. /* See LICENSE for licensing information */
  3. /**
  4. * \file circuitmux_ewma.h
  5. * \brief Header file for circuitmux_ewma.c
  6. **/
  7. #ifndef TOR_CIRCUITMUX_EWMA_H
  8. #define TOR_CIRCUITMUX_EWMA_H
  9. #include "or.h"
  10. #include "circuitmux.h"
  11. /* The public EWMA policy callbacks object. */
  12. extern circuitmux_policy_t ewma_policy;
  13. /* Externally visible EWMA functions */
  14. void cmux_ewma_set_options(const or_options_t *options,
  15. const networkstatus_t *consensus);
  16. #endif /* !defined(TOR_CIRCUITMUX_EWMA_H) */