LCOV - code coverage report
Current view: top level - minipot/include - minipot_zmq_sender.h (source / functions) Hit Total Coverage
Test: sentinel-minipot-2.3.0 Code Coverage Lines: 0 3 0.0 %
Date: 2022-11-27 17:36:11 Functions: 0 3 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef _SENTINEL_MINIPOT_ZMQ_SENDER_H_
       2             : #define _SENTINEL_MINIPOT_ZMQ_SENDER_H_
       3             : 
       4             : #include <string.h>
       5             : 
       6             : struct minipot_zmq_sender;
       7             : typedef struct minipot_zmq_sender* minipot_zmq_sender_t;
       8             : 
       9             : // Frees an instance. Closes connection to Sentinel Proxy.
      10           0 : void minipot_zmq_sender_free(minipot_zmq_sender_t) __attribute__((nonnull));
      11             : 
      12             : // Allocates a new instance. Connects to Sentinel Proxy and sends initial welcome
      13             : // message. If any of these fail returns NULL.
      14           0 : minipot_zmq_sender_t minipot_zmq_sender_new(const char *endpoint,
      15             :         const char *topic) __attribute__((nonnull));
      16             : 
      17             : // Sends data under initilay given topic. Returns 0 on success and -1 otherwise.
      18           0 : int minipot_zmq_sender_send(minipot_zmq_sender_t, const void *, size_t)
      19             :         __attribute__((nonnull));
      20             : 
      21             : 
      22             : #endif

Generated by: LCOV version 1.16