mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
small cleanups
This commit is contained in:
parent
9a3d19ce6c
commit
39e6a92b61
1 changed files with 3 additions and 3 deletions
|
@ -39,12 +39,12 @@ enum node_type {
|
|||
UDP, /* BSD socket: AF_INET SOCK_DGRAM */
|
||||
TCPD, /* BSD socket: AF_INET SOCK_STREAM bind + listen + accept */
|
||||
TCP, /* BSD socket: AF_INET SOCK_STREAM bind + connect */
|
||||
// OPAL_ASYNC, /* OPAL-RT AsyncApi */
|
||||
OPAL_ASYNC, /* OPAL-RT Asynchronous Process Api */
|
||||
// GTFPGA, /* Xilinx ML507 GTFPGA card */
|
||||
INVALID
|
||||
};
|
||||
|
||||
/** C++ like vtable construct for socket_types */
|
||||
/** C++ like vtable construct for node_types */
|
||||
struct node_vtable {
|
||||
enum node_type type;
|
||||
const char *name;
|
||||
|
@ -75,7 +75,7 @@ struct node
|
|||
/** Virtual data (used by vtable functions) */
|
||||
union {
|
||||
struct socket *socket;
|
||||
struct opal *opal;
|
||||
struct opal *opal;
|
||||
struct gtfpga *gtfpga;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue