emitter.h 360 Bytes
Newer Older
1 2 3 4 5 6
#ifndef _EMITTER_H_
#define _EMITTER_H_

struct emitter_config {
  void *zmq; /* zmq context */
  char *zmq_endpoint; /* inproc://whatever */
Jordan Sissel's avatar
Jordan Sissel committed
7
  char *ssl_ca_path; /* path to trusted ssl ca, can be a directory or a file */
Jordan Sissel's avatar
Jordan Sissel committed
8

Jordan Sissel's avatar
Jordan Sissel committed
9 10
  size_t window_size; /* the window size */

Jordan Sissel's avatar
Jordan Sissel committed
11
  char *host;
12
  unsigned short port;
13 14 15 16
};

void *emitter(void *arg);
#endif /* _EMITTER_H_ */