mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
refactor: "node type"=> "node-type"
This commit is contained in:
parent
7e4051b8cb
commit
6a48333f72
4 changed files with 10 additions and 10 deletions
|
@ -83,7 +83,7 @@ struct node_type {
|
|||
* @retval <0 Error. Something went wrong.
|
||||
*/
|
||||
int (*parse)(struct node *n, config_setting_t *cfg);
|
||||
|
||||
|
||||
/** Parse node from command line arguments. */
|
||||
int (*parse_cli)(struct node *n, int argc, char *argv[]);
|
||||
|
||||
|
@ -116,7 +116,7 @@ struct node_type {
|
|||
* using gathering techniques (struct iovec).
|
||||
* The messages will be stored in a circular buffer / array @p m.
|
||||
* Indexes used to address @p m will wrap around after len messages.
|
||||
* Some node types might only support to receive one message at a time.
|
||||
* Some node-types might only support to receive one message at a time.
|
||||
*
|
||||
* @param n A pointer to the node object.
|
||||
* @param smps An array of pointers to memory blocks where the function should store received samples.
|
||||
|
@ -141,7 +141,7 @@ struct node_type {
|
|||
|
||||
/** Reverse source and destination of a node.
|
||||
*
|
||||
* This is not supported by all node types!
|
||||
* This is not supported by all node-types!
|
||||
*
|
||||
* @param n A pointer to the node object.
|
||||
*/
|
||||
|
@ -163,4 +163,4 @@ int node_type_stop(struct node_type *vt);
|
|||
/** Return a printable representation of the node-type. */
|
||||
char * node_type_name(struct node_type *vt);
|
||||
|
||||
/** @} */
|
||||
/** @} */
|
||||
|
|
|
@ -40,7 +40,7 @@ LIB_LDLIBS = $(LDLIBS) -ldl -lrt -Wl,-soname,$(LIB_NAME).so.$(LIB_ABI_VERSION)
|
|||
|
||||
LIB_PKGS += libwebsockets openssl
|
||||
|
||||
######## Node types ########
|
||||
######## Node-types ########
|
||||
|
||||
# Enable Socket node type when libnl3 is available
|
||||
ifndef WITHOUT_SOCKET
|
||||
|
|
|
@ -341,7 +341,7 @@ int super_node_start(struct super_node *sn)
|
|||
api_start(&sn->api);
|
||||
web_start(&sn->web);
|
||||
|
||||
info("Start node types");
|
||||
info("Starting node-types");
|
||||
for (size_t i = 0; i < list_length(&sn->nodes); i++) { INDENT
|
||||
struct node *n = list_at(&sn->nodes, i);
|
||||
|
||||
|
@ -398,7 +398,7 @@ int super_node_stop(struct super_node *sn)
|
|||
error("Failed to stop node: %s", node_name(n));
|
||||
}
|
||||
|
||||
info("Stopping node types");
|
||||
info("Stopping node-types");
|
||||
for (size_t i = 0; i < list_length(&plugins); i++) { INDENT
|
||||
struct plugin *p = list_at(&plugins, i);
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ static void quit(int signal, siginfo_t *sinfo, void *ctx)
|
|||
|
||||
if (sn.stats > 0)
|
||||
stats_print_footer(STATS_FORMAT_HUMAN);
|
||||
|
||||
|
||||
ret = super_node_stop(&sn);
|
||||
if (ret)
|
||||
error("Failed to stop super node");
|
||||
|
@ -75,7 +75,7 @@ static void usage()
|
|||
printf(" This type of invocation is used by OPAL-RT Asynchronous processes.\n");
|
||||
printf(" See in the RT-LAB User Guide for more information.\n\n");
|
||||
#endif
|
||||
printf("Supported node types:\n");
|
||||
printf("Supported node-types:\n");
|
||||
plugin_dump(PLUGIN_TYPE_NODE);
|
||||
printf("\n");
|
||||
|
||||
|
@ -138,7 +138,7 @@ int main(int argc, char *argv[])
|
|||
if (sn.stats > 0 && time_delta(&last, &now) > sn.stats) {
|
||||
for (size_t i = 0; i < list_length(&sn.paths); i++) {
|
||||
struct path *p = list_at(&sn.paths, i);
|
||||
|
||||
|
||||
if (p->state != STATE_STARTED)
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue