mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-13 14:43:46 +01:00
9e60482b80
This "publish/subscribe" layer sits on top of lib/dispatch, and tries to provide more type-safety and cross-checking for the lower-level layer. Even with this commit, we're still not done: more checking will come in the next commit, and a set of usability/typesafety macros will come after.
16 lines
443 B
C
16 lines
443 B
C
/* Copyright (c) 2001, Matej Pfajfar.
|
|
* Copyright (c) 2001-2004, Roger Dingledine.
|
|
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
|
|
* Copyright (c) 2007-2018, The Tor Project, Inc. */
|
|
/* See LICENSE for licensing information */
|
|
|
|
#ifndef TOR_PUBSUB_PUBLISH_H
|
|
#define TOR_PUBSUB_PUBLISH_H
|
|
|
|
#include "lib/dispatch/msgtypes.h"
|
|
struct pub_binding_t;
|
|
|
|
int pubsub_pub_(const struct pub_binding_t *pub, msg_aux_data_t auxdata);
|
|
|
|
#endif
|