mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
shmem: use proper naming convention
This commit is contained in:
parent
aba28aea6f
commit
dccdd67242
2 changed files with 8 additions and 8 deletions
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue