Revision 7d9678db src/urt_publisher.c

View differences:

src/urt_publisher.c
19 19
along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 20
*/
21 21

  
22
#include <urtware.h>
23

  
22 24
/******************************************************************************/
23 25
/* LOCAL DEFINITIONS                                                          */
24 26
/******************************************************************************/
......
42 44
/******************************************************************************/
43 45
/* EXPORTED FUNCTIONS                                                         */
44 46
/******************************************************************************/
47

  
48
/**
49
 * @brief   Initalize the publisher.
50
 *
51
 * @param[in] publisher  Publisher to initalize.
52
 * @param[in] topic   .
53
 * @param[in] message   .
54
 */
55
void urtPublisherInit(urt_publisher_t* publisher, urt_topic_t* topic, urt_message_t* message) {return;}
56

  
57

  
58
/**
59
 * @brief   Initalize the node.
60
 *
61
 * @param[in] publisher  Publisher to  .
62
 * @param[in] payload   .
63
 * @param[in] bytes   .
64
 * @param[in] t   .
65
 * @param[in] timeout   .
66
 *
67
 * @return  A status value.
68
 */
69
urt_status_t urtPublisherPublish(urt_publisher_t* publisher, void* payload, size_t bytes, urt_osTime_t t, urt_delay_t timeout) {return URT_STATUS_OK;}

Also available in: Unified diff