moved some files
This commit is contained in:
26
thirdparty/libcsp/include/csp/interfaces/csp_if_zmqhub.h
vendored
Normal file
26
thirdparty/libcsp/include/csp/interfaces/csp_if_zmqhub.h
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
#ifndef CSP_IF_ZMQHUB_H_
|
||||
#define CSP_IF_ZMQHUB_H_
|
||||
|
||||
#include <csp/csp.h>
|
||||
|
||||
extern csp_iface_t csp_if_zmqhub;
|
||||
|
||||
/**
|
||||
* Setup ZMQ interface
|
||||
* @param addr only receive messages matching this address (255 means all)
|
||||
* @param host Pointer to string containing zmqproxy host
|
||||
* @return CSP_ERR
|
||||
*/
|
||||
int csp_zmqhub_init(uint8_t addr, const char * host);
|
||||
|
||||
/**
|
||||
* Setup ZMQ interface
|
||||
* @param addr only receive messages matching this address (255 means all)
|
||||
* @param publisher_endpoint Pointer to string containing zmqproxy publisher endpoint
|
||||
* @param subscriber_endpoint Pointer to string containing zmqproxy subscriber endpoint
|
||||
* @return CSP_ERR
|
||||
*/
|
||||
int csp_zmqhub_init_w_endpoints(uint8_t addr, const char * publisher_url,
|
||||
const char * subscriber_url);
|
||||
|
||||
#endif /* CSP_IF_ZMQHUB_H_ */
|
Reference in New Issue
Block a user