From 39e6a92b6193a131de27e4b46ebdb26ebf329d92 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 18 Mar 2015 00:30:38 +0100 Subject: [PATCH] small cleanups --- server/include/node.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/include/node.h b/server/include/node.h index fe31fdf2e..78dba6987 100644 --- a/server/include/node.h +++ b/server/include/node.h @@ -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; };