Revision cd21e832

View differences:

inc/urt_core.h
46 46
 */
47 47
typedef struct urt_core
48 48
{
49
    urt_node_t* _nodes;
50
    urt_osEventSource_t* _evtSource;
51
    urt_osMutex_t _lock;
52
    urt_status_t _status;
53
    #if (URT_CFG_PUBSUB_ENABLED)
54
        urt_topic_t* _topics;
55
    #endif /* URT_CFG_PUBSUB_ENABLED */
56
    #if (URT_CFG_RPC_ENABLED)
57
        urt_service_t* _services;
58
    #endif /* URT_CFG_RPC_ENABLED */
49
  urt_node_t* _nodes;
50
  urt_osEventSource_t* _evtSource;
51
  urt_osMutex_t _lock;
52
  urt_status_t _status;
53
  #if (URT_CFG_PUBSUB_ENABLED)
54
    urt_topic_t* _topics;
55
  #endif /* URT_CFG_PUBSUB_ENABLED */
56
  #if (URT_CFG_RPC_ENABLED)
57
    urt_service_t* _services;
58
  #endif /* URT_CFG_RPC_ENABLED */
59 59
}urt_core_t;
60 60

  
61 61
/******************************************************************************/
......
70 70
extern "C" {
71 71
#endif /* defined(__cplusplus) */
72 72

  
73
    void urtCoreInit(void);
74
    urt_status_t urtCoreGetStatus(void);
75
    void urtCoreStartNodes(void);
76
    urt_status_t urtCoreSynchronize(urt_node_t* node);
77
    urt_status_t urtCoreStopNodes(urt_status_t reason);
73
  void urtCoreInit(void);
74
  urt_status_t urtCoreGetStatus(void);
75
  void urtCoreStartNodes(void);
76
  urt_status_t urtCoreSynchronize(urt_node_t* node);
77
  urt_status_t urtCoreStopNodes(urt_status_t reason);
78 78

  
79 79
#if (URT_CFG_PUBSUB_ENABLED)
80
    urt_topic_t* urtCoreGetTopic(urt_topicid_t id);
80
  urt_topic_t* urtCoreGetTopic(urt_topicid_t id);
81 81
#endif /* URT_CFG_PUBSUB_ENABLED */
82 82

  
83 83
#if (URT_CFG_RPC_ENABLED)
84
    urt_service_t urtCoreGetService(urt_serviceid_t id);
84
  urt_service_t urtCoreGetService(urt_serviceid_t id);
85 85
#endif /* URT_CFG_RPC_ENABLED */
86 86

  
87 87
#if defined(__cplusplus)
inc/urt_message.h
45 45
 */
46 46
typedef struct urt_message
47 47
{
48
    urt_message_t* next;
49
    void* payload;
50
    urt_osTime_t originTime;
51
    unsigned int numHrtConsumersLeft;
52
    #if (URT_CFG_PUBSUB_PROFILING)
53
        unsigned int numConsumersLeft;
54
    #endif /* URT_CFG_PUBSUB_PROFILING */
48
  urt_message_t* next;
49
  void* payload;
50
  urt_osTime_t originTime;
51
  unsigned int numHrtConsumersLeft;
52
  #if (URT_CFG_PUBSUB_PROFILING)
53
    unsigned int numConsumersLeft;
54
  #endif /* URT_CFG_PUBSUB_PROFILING */
55 55
}urt_message_t;
56 56

  
57 57
/******************************************************************************/
......
66 66
extern "C" {
67 67
#endif /* defined(__cplusplus) */
68 68

  
69
    void urtMessageInit(urt_message_t* message, void* payload);
69
  void urtMessageInit(urt_message_t* message, void* payload);
70 70
#if defined(__cplusplus)
71 71
}
72 72
#endif /* defined(__cplusplus) */
inc/urt_node.h
46 46
 */
47 47
typedef struct urt_node
48 48
{
49
    urt_node_t* next;
50
    urt_osThread_t* thread;
51
    urt_nodeSetupCallback_t* setupcallback;
52
    void* setupparams;
53
    urt_nodeLoopCallback_t* loopcallback;
54
    void* loopparams;
55
    urt_nodeShutdownCallback_t* shutdowncallback;
56
    void* shutdownparams;
57
    urt_nodestage_t stage;
58
    urt_osEventListener_t listener;
59
    #if (URT_CFG_PUBSUB_PROFILING || URT_CFG_RPC_PROFILING)
60
        uint64_t loops;
61
    #endif /* URT_CFG_PUBSUB_PROFILING || URT_CFG_RPC_PROFILING */
49
  urt_node_t* next;
50
  urt_osThread_t* thread;
51
  urt_nodeSetupCallback_t* setupcallback;
52
  void* setupparams;
53
  urt_nodeLoopCallback_t* loopcallback;
54
  void* loopparams;
55
  urt_nodeShutdownCallback_t* shutdowncallback;
56
  void* shutdownparams;
57
  urt_nodestage_t stage;
58
  urt_osEventListener_t listener;
59
  #if (URT_CFG_PUBSUB_PROFILING || URT_CFG_RPC_PROFILING)
60
    uint64_t loops;
61
  #endif /* URT_CFG_PUBSUB_PROFILING || URT_CFG_RPC_PROFILING */
62 62
}urt_node_t;
63 63

  
64 64
/******************************************************************************/
......
73 73
extern "C" {
74 74
#endif /* defined(__cplusplus) */
75 75

  
76
    void urtNodeInit(urt_node_t* node, urt_osThread_t* thread, urt_nodeSetupCallback_t* setupcallback, void* setupparams, urt_nodeLoopCallback_t* loopcallback, void* loopparams, urt_nodeShutdownCallback_t* shutdowncallback, void* shutodwnparams);
76
  void urtNodeInit(urt_node_t* node, urt_osThread_t* thread, urt_nodeSetupCallback_t* setupcallback, void* setupparams, urt_nodeLoopCallback_t* loopcallback, void* loopparams, urt_nodeShutdownCallback_t* shutdowncallback, void* shutodwnparams);
77 77
#if defined(__cplusplus)
78 78
}
79 79
#endif /* defined(__cplusplus) */
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) */
inc/urt_service.h
46 46
 */
47 47
typedef struct urt_service
48 48
{
49
    urt_service_t* next;
50
    urt_serviceid_t id;
51
    urt_osMutex_t lock;
52
    urt_servicefunc_t* callback;
53
    #if (URT_CFG_RPC_PROFILING)
54
        uint64_t sumDurations;
55
        uint64_t numCalls;
56
        uint64_t numTimeouts;
57
        urt_delay_t minDuration;
58
        urt_delay_t maxDuration;
59
    #endif /* URT_CFG_RPC_PROFILING */
49
  urt_service_t* next;
50
  urt_serviceid_t id;
51
  urt_osMutex_t lock;
52
  urt_servicefunc_t* callback;
53
  #if (URT_CFG_RPC_PROFILING)
54
    uint64_t sumDurations;
55
    uint64_t numCalls;
56
    uint64_t numTimeouts;
57
    urt_delay_t minDuration;
58
    urt_delay_t maxDuration;
59
  #endif /* URT_CFG_RPC_PROFILING */
60 60
}urt_service_t;
61 61

  
62 62
/******************************************************************************/
......
71 71
extern "C" {
72 72
#endif /* defined(__cplusplus) */
73 73

  
74
    urt_status_t urtServiceInit(urt_service_t* service, urt_serviceid_t id, urt_servicefunc_t* callback);
75
    urt_status_t urtServiceCall(urt_service_t* service, void* arg, void* ret, urt_delay_t timeout);
74
  urt_status_t urtServiceInit(urt_service_t* service, urt_serviceid_t id, urt_servicefunc_t* callback);
75
  urt_status_t urtServiceCall(urt_service_t* service, void* arg, void* ret, urt_delay_t timeout);
76 76
#if defined(__cplusplus)
77 77
}
78 78
#endif /* defined(__cplusplus) */
inc/urt_subscriber.h
47 47
 */
48 48
typedef struct urt_basesubscriber
49 49
{
50
    urt_topic_t* topic;
51
    urt_osEventListener_t evtListener;
52
    urt_message_t* lastMessage;
53
    urt_osTime_t lastMessageTime;
54
    #if (URT_CFG_PUBSUB_PROFILING)
55
        uint64_t sumLatencies;
56
        uint64_t numMessagesReceived;
57
    #endif /* URT_CFG_PUBSUB_PROFILING */
50
  urt_topic_t* topic;
51
  urt_osEventListener_t evtListener;
52
  urt_message_t* lastMessage;
53
  urt_osTime_t lastMessageTime;
54
  #if (URT_CFG_PUBSUB_PROFILING)
55
    uint64_t sumLatencies;
56
    uint64_t numMessagesReceived;
57
  #endif /* URT_CFG_PUBSUB_PROFILING */
58 58
}urt_basesubscriber_t;
59 59

  
60 60
/**
......
62 62
 */
63 63
typedef struct urt_nrtsubscriber
64 64
{
65
    urt_basesubscriber_t base;
66
    #if (URT_CFG_PUBSUB_PROFILING)
67
        urt_delay_t minLatency;
68
        urt_delay_t maxLatency;
69
    #endif /* URT_CFG_PUBSUB_PROFILING */
65
  urt_basesubscriber_t base;
66
  #if (URT_CFG_PUBSUB_PROFILING)
67
    urt_delay_t minLatency;
68
    urt_delay_t maxLatency;
69
  #endif /* URT_CFG_PUBSUB_PROFILING */
70 70
}urt_nrtsubscriber_t;
71 71

  
72 72
/**
......
74 74
 */
75 75
typedef struct urt_srtsubscriber
76 76
{
77
    urt_basesubscriber_t base;
78
    urt_srtusefulnessfunc_t* usefulnesscb;
79
    #if (URT_CFG_PUBSUB_PROFILING)
80
        urt_delay_t minLatency;
81
        urt_delay_t maxLatency;
82
    #endif /* URT_CFG_PUBSUB_PROFILING */
77
  urt_basesubscriber_t base;
78
  urt_srtusefulnessfunc_t* usefulnesscb;
79
  #if (URT_CFG_PUBSUB_PROFILING)
80
    urt_delay_t minLatency;
81
    urt_delay_t maxLatency;
82
  #endif /* URT_CFG_PUBSUB_PROFILING */
83 83
}urt_srtsubscriber_t;
84 84

  
85 85
/**
......
87 87
 */
88 88
typedef struct urt_frtsubscriber
89 89
{
90
    urt_basesubscriber_t base;
91
    #if (URT_CFG_PUBSUB_QOS_DEADLINECHECKS)
92
        urt_delay_t deadlineOffset;
93
    #endif /* URT_CFG_PUBSUB_QOS_DEADLINECHECKS */
94
    #if (URT_CFG_PUBSUB_QOS_JITTERCHECKS)
95
        urt_delay_t maxJitter;
96
    #endif /* URT_CFG_PUBSUB_QOS_JITTERCHECKS */
97
    #if (URT_CFG_PUBSUB_QOS_JITTERCHECKS || URT_CFG_PUBSUB_PROFILING)
98
        urt_delay_t minLatency;
99
        urt_delay_t maxLatency;
100
    #endif /* URT_CFG_PUBSUB_QOS_JITTERCHECKS || URT_CFG_PUBSUB_PROFILING */
90
  urt_basesubscriber_t base;
91
  #if (URT_CFG_PUBSUB_QOS_DEADLINECHECKS)
92
    urt_delay_t deadlineOffset;
93
  #endif /* URT_CFG_PUBSUB_QOS_DEADLINECHECKS */
94
  #if (URT_CFG_PUBSUB_QOS_JITTERCHECKS)
95
    urt_delay_t maxJitter;
96
  #endif /* URT_CFG_PUBSUB_QOS_JITTERCHECKS */
97
  #if (URT_CFG_PUBSUB_QOS_JITTERCHECKS || URT_CFG_PUBSUB_PROFILING)
98
    urt_delay_t minLatency;
99
    urt_delay_t maxLatency;
100
  #endif /* URT_CFG_PUBSUB_QOS_JITTERCHECKS || URT_CFG_PUBSUB_PROFILING */
101 101
}urt_frtsubscriber_t;
102 102

  
103 103
/**
......
105 105
 */
106 106
typedef struct urt_hrtsubscriber
107 107
{
108
    urt_basesubscriber_t base;
109
    urt_hrtsubscriber_t* next;
110
    #if (URT_CFG_PUBSUB_QOS_DEADLINECHECKS)
111
        urt_delay_t deadlineOffset;
112
        urt_osTimer_t qosDeadlineTimer;
113
    #endif /* URT_CFG_PUBSUB_QOS_DEADLINECHECKS */
114
    #if (URT_CFG_PUBSUB_QOS_JITTERCHECKS)
115
        urt_delay_t maxJitter;
116
    #endif /* URT_CFG_PUBSUB_QOS_JITTERCHECKS */
117
    #if (URT_CFG_PUBSUB_QOS_JITTERCHECKS || URT_CFG_PUBSUB_PROFILING)
118
        urt_delay_t minLatency;
119
        urt_delay_t maxLatency;
120
    #endif /* URT_CFG_PUBSUB_QOS_JITTERCHECKS || URT_CFG_PUBSUB_PROFILING */
121
    #if (URT_CFG_PUBSUB_QOS_RATECHECKS)
122
        urt_delay_t expectedRate;
123
    #endif /* URT_CFG_PUBSUB_QOS_RATECHECKS */
108
  urt_basesubscriber_t base;
109
  urt_hrtsubscriber_t* next;
110
  #if (URT_CFG_PUBSUB_QOS_DEADLINECHECKS)
111
    urt_delay_t deadlineOffset;
112
    urt_osTimer_t qosDeadlineTimer;
113
  #endif /* URT_CFG_PUBSUB_QOS_DEADLINECHECKS */
114
  #if (URT_CFG_PUBSUB_QOS_JITTERCHECKS)
115
    urt_delay_t maxJitter;
116
  #endif /* URT_CFG_PUBSUB_QOS_JITTERCHECKS */
117
  #if (URT_CFG_PUBSUB_QOS_JITTERCHECKS || URT_CFG_PUBSUB_PROFILING)
118
    urt_delay_t minLatency;
119
    urt_delay_t maxLatency;
120
  #endif /* URT_CFG_PUBSUB_QOS_JITTERCHECKS || URT_CFG_PUBSUB_PROFILING */
121
  #if (URT_CFG_PUBSUB_QOS_RATECHECKS)
122
    urt_delay_t expectedRate;
123
  #endif /* URT_CFG_PUBSUB_QOS_RATECHECKS */
124 124
}urt_hrtsubscriber_t;
125 125

  
126 126
/******************************************************************************/
......
135 135
extern "C" {
136 136
#endif /* defined(__cplusplus) */
137 137

  
138
    void urtNrtSubscriberInit(urt_nrtsubscriber_t* subscriber);
139
    urt_status_t urtNrtSubscriberSubscribe(urt_nrtsubscriber_t* subscriber, urt_topic_t* topic, urt_message_t* messages);
140
    urt_status_t urtNrtSubscriberFetchNextMessage(urt_nrtsubscriber_t* subscriber, void* payload, size_t bytes, urt_delay_t* latency);
141
    urt_status_t urtNrtSubscriberFetchLatestMessage(urt_nrtsubscriber_t* subscriber, void* payload, size_t bytes, urt_delay_t* latency);
142
    urt_status_t urtNrtSubscriberUnsubscribe(urt_nrtsubscriber_t* subscriber);
143

  
144
    void urtSrtSubscriberInit(urt_srtsubscriber_t* subscriber);
145
    urt_status_t urtSrtSubscriberSubscribe(urt_srtsubscriber_t* subscriber, urt_topic_t* topic, urt_message_t* message, urt_srtusefulnessfunc_t* usefulnesscb, void* cbparams);
146
    urt_status_t urtSrtSubscriberFetchNextMessage(urt_srtsubscriber_t* subscriber, void* payload, size_t bytes, urt_delay_t* latency);
147
    urt_status_t urtSrtSubscriberFetchLatestMessage(urt_srtsubscriber_t* subscriber, void* payload, size_t bytes, urt_delay_t* latency);
148
    urt_status_t urtSrtSubscriberCalculateUsefulness(urt_srtsubscriber_t* subscriber, urt_delay_t latency);
149
    urt_status_t urtSrtSubscriberUnsubscribe(urt_srtsubscriber_t* subscriber);
150

  
151
    void urtFrtSubscriberInit(urt_frtsubscriber_t* subscriber);
152
    urt_status_t urtFrtSubscriberSubscribe(urt_frtsubscriber_t* subscriber, urt_topic_t* topic, urt_message_t* messages, urt_delay_t deadline, urt_delay_t jitter);
153
    urt_status_t urtFrtSubscriberFetchNextMessage(urt_frtsubscriber_t* subscriber, void* payload, size_t bytes, urt_delay_t* latency);
154
    urt_status_t urtFrtSubscriberFetchLatestMessage(urt_frtsubscriber_t* subscriber, void* payload, size_t bytes, urt_delay_t* latency);
155
    bool urtFrtSubscriberCalculateValidity(urt_frtsubscriber_t* subscriber, urt_delay_t latency);
156
    urt_status_t urtFrtSubscriberUnsubscribe(urt_frtsubscriber_t* subscriber);
157

  
158
    void urtHrtSubscriberInit(urt_hrtsubscriber_t* subscriber);
159
    urt_status_t urtHrtSubscriberSubscribe(urt_hrtsubscriber_t* subscriber, urt_topic_t* topic, urt_message_t* message, urt_delay_t deadline, urt_delay_t rate, urt_delay_t jitter);
160
    urt_status_t urtHrtSubscriberFetchNextMessage(urt_hrtsubscriber_t* subscriber, void* payload, size_t bytes, urt_delay_t* latency);
161
    urt_status_t urtHrtSubscriberFetchLatestMessage(urt_hrtsubscriber_t* subscriber, void* payload, size_t bytes, urt_delay_t* latency);
162
    urt_status_t urtHrtSubscriberUnsubscribe(urt_hrtsubscriber_t* subscriber);
138
  void urtNrtSubscriberInit(urt_nrtsubscriber_t* subscriber);
139
  urt_status_t urtNrtSubscriberSubscribe(urt_nrtsubscriber_t* subscriber, urt_topic_t* topic, urt_message_t* messages);
140
  urt_status_t urtNrtSubscriberFetchNextMessage(urt_nrtsubscriber_t* subscriber, void* payload, size_t bytes, urt_delay_t* latency);
141
  urt_status_t urtNrtSubscriberFetchLatestMessage(urt_nrtsubscriber_t* subscriber, void* payload, size_t bytes, urt_delay_t* latency);
142
  urt_status_t urtNrtSubscriberUnsubscribe(urt_nrtsubscriber_t* subscriber);
143

  
144
  void urtSrtSubscriberInit(urt_srtsubscriber_t* subscriber);
145
  urt_status_t urtSrtSubscriberSubscribe(urt_srtsubscriber_t* subscriber, urt_topic_t* topic, urt_message_t* message, urt_srtusefulnessfunc_t* usefulnesscb, void* cbparams);
146
  urt_status_t urtSrtSubscriberFetchNextMessage(urt_srtsubscriber_t* subscriber, void* payload, size_t bytes, urt_delay_t* latency);
147
  urt_status_t urtSrtSubscriberFetchLatestMessage(urt_srtsubscriber_t* subscriber, void* payload, size_t bytes, urt_delay_t* latency);
148
  urt_status_t urtSrtSubscriberCalculateUsefulness(urt_srtsubscriber_t* subscriber, urt_delay_t latency);
149
  urt_status_t urtSrtSubscriberUnsubscribe(urt_srtsubscriber_t* subscriber);
150

  
151
  void urtFrtSubscriberInit(urt_frtsubscriber_t* subscriber);
152
  urt_status_t urtFrtSubscriberSubscribe(urt_frtsubscriber_t* subscriber, urt_topic_t* topic, urt_message_t* messages, urt_delay_t deadline, urt_delay_t jitter);
153
  urt_status_t urtFrtSubscriberFetchNextMessage(urt_frtsubscriber_t* subscriber, void* payload, size_t bytes, urt_delay_t* latency);
154
  urt_status_t urtFrtSubscriberFetchLatestMessage(urt_frtsubscriber_t* subscriber, void* payload, size_t bytes, urt_delay_t* latency);
155
  bool urtFrtSubscriberCalculateValidity(urt_frtsubscriber_t* subscriber, urt_delay_t latency);
156
  urt_status_t urtFrtSubscriberUnsubscribe(urt_frtsubscriber_t* subscriber);
157

  
158
  void urtHrtSubscriberInit(urt_hrtsubscriber_t* subscriber);
159
  urt_status_t urtHrtSubscriberSubscribe(urt_hrtsubscriber_t* subscriber, urt_topic_t* topic, urt_message_t* message, urt_delay_t deadline, urt_delay_t rate, urt_delay_t jitter);
160
  urt_status_t urtHrtSubscriberFetchNextMessage(urt_hrtsubscriber_t* subscriber, void* payload, size_t bytes, urt_delay_t* latency);
161
  urt_status_t urtHrtSubscriberFetchLatestMessage(urt_hrtsubscriber_t* subscriber, void* payload, size_t bytes, urt_delay_t* latency);
162
  urt_status_t urtHrtSubscriberUnsubscribe(urt_hrtsubscriber_t* subscriber);
163 163
#if defined(__cplusplus)
164 164
}
165 165
#endif /* defined(__cplusplus) */
inc/urt_topic.h
46 46
 */
47 47
typedef struct urt_topic
48 48
{
49
    urt_topic_t* next;
50
    urt_topicid_t id;
51
    urt_osMutex_t lock;
52
    urt_osEventSource_t evtSource;
53
    unsigned int numHrtSubscribers;
54
    urt_osCondvar_t hrtReleased;
55
    urt_message_t mandatoryMessage;
56
    urt_message_t* latestMessage;
57
    #if (URT_CFG_PUBSUB_QOS_RATECHECKS)
58
        urt_hrtsubscriber_t* hrtSubscribers;
59
        urt_osTimer_t qosRateTimer;
60
    #endif /* URT_CFG_PUBSUB_QOS_RATECHECKS */
61
    #if (URT_CFG_PUBSUB_PROFILING)
62
        uint64_t numMessagesPublished;
63
        uint64_t numMessagesDiscarded;
64
        unsigned int numSubscribers;
65
    #endif /* URT_CFG_PUBSUB_PROFILING */
49
  urt_topic_t* next;
50
  urt_topicid_t id;
51
  urt_osMutex_t lock;
52
  urt_osEventSource_t evtSource;
53
  unsigned int numHrtSubscribers;
54
  urt_osCondvar_t hrtReleased;
55
  urt_message_t mandatoryMessage;
56
  urt_message_t* latestMessage;
57
  #if (URT_CFG_PUBSUB_QOS_RATECHECKS)
58
    urt_hrtsubscriber_t* hrtSubscribers;
59
    urt_osTimer_t qosRateTimer;
60
  #endif /* URT_CFG_PUBSUB_QOS_RATECHECKS */
61
  #if (URT_CFG_PUBSUB_PROFILING)
62
    uint64_t numMessagesPublished;
63
    uint64_t numMessagesDiscarded;
64
    unsigned int numSubscribers;
65
  #endif /* URT_CFG_PUBSUB_PROFILING */
66 66
}urt_topic_t;
67 67

  
68 68
/******************************************************************************/
......
77 77
extern "C" {
78 78
#endif /* defined(__cplusplus) */
79 79

  
80
    urt_status_t urtTopicInit(urt_topic_t* topic, urt_topicid_t id);
80
  urt_status_t urtTopicInit(urt_topic_t* topic, urt_topicid_t id);
81 81
#if defined(__cplusplus)
82 82
}
83 83
#endif /* defined(__cplusplus) */

Also available in: Unified diff