Revision cd21e832 inc/urt_node.h

View differences:

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) */

Also available in: Unified diff