Revision cd21e832 inc/urt_publisher.h
inc/urt_publisher.h | ||
---|---|---|
46 | 46 |
*/ |
47 | 47 |
typedef struct urt_publisher |
48 | 48 |
{ |
49 |
urt_topic_t* topic;
|
|
50 |
#if (URT_CFG_PUBSUB_PROFILING)
|
|
51 |
uint64_t publishAttempts;
|
|
52 |
uint64_t publishFails;
|
|
53 |
#endif /* URT_CFG_PUBSUB_PROFILING */
|
|
49 |
urt_topic_t* topic; |
|
50 |
#if (URT_CFG_PUBSUB_PROFILING) |
|
51 |
uint64_t publishAttempts; |
|
52 |
uint64_t publishFails; |
|
53 |
#endif /* URT_CFG_PUBSUB_PROFILING */ |
|
54 | 54 |
}urt_publisher_t; |
55 | 55 |
|
56 | 56 |
/******************************************************************************/ |
... | ... | |
65 | 65 |
extern "C" { |
66 | 66 |
#endif /* defined(__cplusplus) */ |
67 | 67 |
|
68 |
void urtPublisherInit(urt_publisher_t* publisher, urt_topic_t* topic, urt_message_t* message);
|
|
69 |
urt_status_t urtPublisherPublish(urt_publisher_t* publisher, void* payload, size_t bytes, urt_osTime_t t, urt_delay_t timeout);
|
|
68 |
void urtPublisherInit(urt_publisher_t* publisher, urt_topic_t* topic, urt_message_t* message); |
|
69 |
urt_status_t urtPublisherPublish(urt_publisher_t* publisher, void* payload, size_t bytes, urt_osTime_t t, urt_delay_t timeout); |
|
70 | 70 |
#if defined(__cplusplus) |
71 | 71 |
} |
72 | 72 |
#endif /* defined(__cplusplus) */ |
Also available in: Unified diff