11/* =========================================================================
2- fmq_client - FILEMQ Client
2+ fmq_client - FileMQ Client
33
44 ** WARNING *************************************************************
55 THIS SOURCE FILE IS 100% GENERATED. If you edit this file, you will lose
2424#define FMQ_CLIENT_H_INCLUDED
2525
2626#include <czmq.h>
27- #include <filemq_prelude.h>
2827
2928#ifdef __cplusplus
3029extern "C" {
@@ -39,64 +38,64 @@ typedef struct _fmq_client_t fmq_client_t;
3938// @interface
4039// Create a new fmq_client, return the reference if successful, or NULL
4140// if construction failed due to lack of available memory.
42- FMQ_EXPORT fmq_client_t *
41+ FILEMQ_EXPORT fmq_client_t *
4342 fmq_client_new (void );
4443
4544// Destroy the fmq_client and free all memory used by the object.
46- FMQ_EXPORT void
45+ FILEMQ_EXPORT void
4746 fmq_client_destroy (fmq_client_t * * self_p );
4847
4948// Return actor, when caller wants to work with multiple actors and/or
5049// input sockets asynchronously.
51- FMQ_EXPORT zactor_t *
50+ FILEMQ_EXPORT zactor_t *
5251 fmq_client_actor (fmq_client_t * self );
5352
5453// Return message pipe for asynchronous message I/O. In the high-volume case,
5554// we send methods and get replies to the actor, in a synchronous manner, and
5655// we send/recv high volume message data to a second pipe, the msgpipe. In
5756// the low-volume case we can do everything over the actor pipe, if traffic
5857// is never ambiguous.
59- FMQ_EXPORT zsock_t *
58+ FILEMQ_EXPORT zsock_t *
6059 fmq_client_msgpipe (fmq_client_t * self );
6160
6261// Return true if client is currently connected, else false. Note that the
6362// client will automatically re-connect if the server dies and restarts after
6463// a successful first connection.
65- FMQ_EXPORT bool
64+ FILEMQ_EXPORT bool
6665 fmq_client_connected (fmq_client_t * self );
6766
6867// Connect to server endpoint, with specified timeout in msecs (zero means wait
6968// forever). Connect succeeds if connection is successful.
7069// Returns >= 0 if successful, -1 if interrupted.
71- FMQ_EXPORT uint8_t
70+ FILEMQ_EXPORT uint8_t
7271 fmq_client_connect (fmq_client_t * self , const char * endpoint , uint32_t timeout );
7372
7473// Subscribe to a directory on the server, directory specified by path.
7574// Returns >= 0 if successful, -1 if interrupted.
76- FMQ_EXPORT uint8_t
75+ FILEMQ_EXPORT uint8_t
7776 fmq_client_subscribe (fmq_client_t * self , const char * path );
7877
7978// Tell the api where to store files. This should be done before subscribing to
8079// anything.
8180// Returns >= 0 if successful, -1 if interrupted.
82- FMQ_EXPORT uint8_t
81+ FILEMQ_EXPORT uint8_t
8382 fmq_client_set_inbox (fmq_client_t * self , const char * path );
8483
8584// Return last received status
86- FMQ_EXPORT uint8_t
85+ FILEMQ_EXPORT uint8_t
8786 fmq_client_status (fmq_client_t * self );
8887
8988// Return last received reason
90- FMQ_EXPORT const char *
89+ FILEMQ_EXPORT const char *
9190 fmq_client_reason (fmq_client_t * self );
9291
9392// Self test of this class
94- FMQ_EXPORT void
93+ FILEMQ_EXPORT void
9594 fmq_client_test (bool verbose );
9695
9796// To enable verbose tracing (animation) of fmq_client instances, set
9897// this to true. This lets you trace from and including construction.
99- extern volatile int
98+ FILEMQ_EXPORT extern volatile int
10099 fmq_client_verbose ;
101100// @end
102101
0 commit comments