Revision 5198dfae src/urt_node.c
src/urt_node.c | ||
---|---|---|
48 | 48 |
/** |
49 | 49 |
* @brief Initalize the node. |
50 | 50 |
* |
51 |
* @param[in] node Node to initalize. |
|
52 |
* @param[in] thread . |
|
53 |
* @param[in] setupcallback . |
|
54 |
* @param[in] setupparams . |
|
55 |
* @param[in] loopcallback . |
|
56 |
* @param[in] loopparams . |
|
57 |
* @param[in] shutdowncallback . |
|
58 |
* @param[in] shutdownparams . |
|
51 |
* @param[in] node The node to initialize. Must not be NULL. |
|
52 |
* @param[in] thread The already initialized, exclusive thread for the node. Must not be NULL. |
|
53 |
* @param[in] setupcallback Callback function to be executed during setup. |
|
54 |
* May be NULL if no custom setup is required. |
|
55 |
* @param[in] setupparams Parameters for the setup callback function. |
|
56 |
* Must be NULLif no setup callback is specified. |
|
57 |
* May be NULLif the specified setup callback does not expect parameters. |
|
58 |
* @param[in] loopcallback Callback function to be executed in a loop. |
|
59 |
* Must not be NULL. |
|
60 |
* @param[in] loopparams Parameters for the loop callback function. |
|
61 |
* May be NULL if the specified loop callback does not expect parameters. |
|
62 |
* @param[in] shutdowncallback Callback function to be executed during shutdown. |
|
63 |
* May be NULL if no custom shutdown is required. |
|
64 |
* @param[in] shutdownparams Parameters for the loop callback function. |
|
65 |
* Must be NULL if no shutdown callback is specified. |
|
66 |
* May be NULL if the specified shutdown callback does not expect parameters. |
|
59 | 67 |
*/ |
60 | 68 |
void urtNodeInit(urt_node_t* node, urt_osThread_t* thread, urt_nodeSetupCallback_t* setupcallback, |
61 | 69 |
void* setupparams, urt_nodeLoopCallback_t* loopcallback, void* loopparams, |
Also available in: Unified diff