diff --git a/include/villas/nodes/shmem.h b/include/villas/nodes/shmem.h index a9c299209..dc156064f 100644 --- a/include/villas/nodes/shmem.h +++ b/include/villas/nodes/shmem.h @@ -53,11 +53,11 @@ char * shmem_print(struct node *n); /** @see node_type::parse */ int shmem_parse(struct node *n, json_t *cfg); -/** @see node_type::open */ -int shmem_open(struct node *n); +/** @see node_type::start */ +int shmem_start(struct node *n); -/** @see node_type::close */ -int shmem_close(struct node *n); +/** @see node_type::stop */ +int shmem_stop(struct node *n); /** @see node_type::read */ int shmem_read(struct node *n, struct sample *smps[], unsigned cnt); diff --git a/lib/nodes/shmem.c b/lib/nodes/shmem.c index 9be84cc30..177b548be 100644 --- a/lib/nodes/shmem.c +++ b/lib/nodes/shmem.c @@ -83,7 +83,7 @@ int shmem_parse(struct node *n, json_t *cfg) return 0; } -int shmem_open(struct node *n) +int shmem_start(struct node *n) { struct shmem *shm = (struct shmem *) n->_vd; int ret; @@ -103,7 +103,7 @@ int shmem_open(struct node *n) return 0; } -int shmem_close(struct node *n) +int shmem_stop(struct node *n) { struct shmem* shm = (struct shmem *) n->_vd; @@ -188,8 +188,8 @@ static struct plugin p = { .size = sizeof(struct shmem), .parse = shmem_parse, .print = shmem_print, - .start = shmem_open, - .stop = shmem_close, + .start = shmem_start, + .stop = shmem_stop, .read = shmem_read, .write = shmem_write }