1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

added file headers with author and copyright info

This commit is contained in:
Steffen Vogel 2017-04-15 21:22:19 +02:00
parent bdb5574433
commit 4504fcc827
11 changed files with 75 additions and 5 deletions

View file

@ -1,3 +1,9 @@
/** Crypto helpers.
*
* @author Steffen Vogel <stvogel@eonerc.rwth-aachen.de>
* @copyright 2017, Institute for Automation of Complex Power Systems, EONERC
*********************************************************************************/
#pragma once
#include <stdio.h>

View file

@ -1,4 +1,9 @@
#pragma once
/** JSON serializtion of various objects.
*
* @author Steffen Vogel <stvogel@eonerc.rwth-aachen.de>
* @copyright 2017, Institute for Automation of Complex Power Systems, EONERC
*********************************************************************************/
#ifdef WITH_JANSSON

View file

@ -1,5 +1,18 @@
#ifndef _SHMEM_H_
#define _SHMEM_H_
/** Node-type for shared memory communication.
*
* @file
* @author Georg Martin Reinke <georg.reinke@rwth-aachen.de>
* @copyright 2017, Institute for Automation of Complex Power Systems, EONERC
*********************************************************************************/
/**
* @ingroup node
* @addtogroup shmem Shared memory interface
* @{
*/
#include "node.h"
#include "memory.h"

View file

@ -1,3 +1,10 @@
/** Wrapper around queue that uses POSIX CV's for signalling writes.
*
* @file
* @author Georg Martin Reinke <georg.reinke@rwth-aachen.de>
* @copyright 2017, Institute for Automation of Complex Power Systems, EONERC
*********************************************************************************/
#pragma once
#include <pthread.h>

View file

@ -1,6 +1,11 @@
#pragma once
/** Shared-memory interface: The interface functions that the external program should use.
*
* @file
* @author Georg Martin Reinke <georg.reinke@rwth-aachen.de>
* @copyright 2017, Institute for Automation of Complex Power Systems, EONERC
*********************************************************************************/
/* The interface functions that the external program should use. */
#include "pool.h"
#include "queue.h"

View file

@ -1,4 +1,9 @@
#include "crypt.h"
/** Crypto helpers.
*
* @author Steffen Vogel <stvogel@eonerc.rwth-aachen.de>
* @copyright 2017, Institute for Automation of Complex Power Systems, EONERC
*********************************************************************************/
#include <openssl/sha.h>

View file

@ -1,3 +1,9 @@
/** JSON serializtion of various objects.
*
* @author Steffen Vogel <stvogel@eonerc.rwth-aachen.de>
* @copyright 2017, Institute for Automation of Complex Power Systems, EONERC
*********************************************************************************/
#include "json.h"
#ifdef WITH_JANSSON

View file

@ -1,3 +1,9 @@
/** Node-type for shared memory communication.
*
* @author Georg Martin Reinke <georg.reinke@rwth-aachen.de>
* @copyright 2017, Institute for Automation of Complex Power Systems, EONERC
*********************************************************************************/
#include <fcntl.h>
#include <pthread.h>
#include <string.h>

View file

@ -1,4 +1,9 @@
/** Wrapper around queue that uses POSIX CV's for signalling writes. */
/** Wrapper around queue that uses POSIX CV's for signalling writes.
*
* @file
* @author Georg Martin Reinke <georg.reinke@rwth-aachen.de>
* @copyright 2017, Institute for Automation of Complex Power Systems, EONERC
*********************************************************************************/
#include "queue_signalled.h"

View file

@ -1,3 +1,10 @@
/** Shared-memory interface: The interface functions that the external program should use.
*
* @file
* @author Georg Martin Reinke <georg.reinke@rwth-aachen.de>
* @copyright 2017, Institute for Automation of Complex Power Systems, EONERC
*********************************************************************************/
#include <fcntl.h>
#include <sys/mman.h>
#include <sys/stat.h>

View file

@ -1,6 +1,11 @@
/* Test "client" for the shared memory interface.
* Busy waits on the incoming queue, prints received samples and writes them
* back to the other queue. */
/** Test "client" for the shared memory interface.
*
* Waits on the incoming queue, prints received samples and writes them
* back to the other queue.
*
* @author Georg Martin Reinke <georg.reinke@rwth-aachen.de>
* @copyright 2017, Institute for Automation of Complex Power Systems, EONERC
*********************************************************************************/
#include "config.h"
#include "log.h"