moved raspberry and router gpio to pi_as_powerwitch on github
[svn42.git] / door_daemon / client_list.h
index 4dd3c21..819362b 100644 (file)
@@ -6,8 +6,9 @@
  *  This file is part of door_daemon.
  *
  *  door_daemon is free software: you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License version 3 as
- *  published by the Free Software Foundation.
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation, either version 3 of the License, or
+ *  any later version.
  *
  *  door_daemon is distributed in the hope that it will be useful,
  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  *  along with door_daemon. If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef _CLIENT_LIST_H_
-#define _CLIENT_LIST_H_
+#ifndef DOOR_DAEMON_client_list_h_INCLUDED
+#define DOOR_DAEMON_client_list_h_INCLUDED
+
+#include "datatypes.h"
 
 struct client_struct {
   int fd;
   int status_listener;
+  int error_listener;
+  int request_listener;
   struct client_struct* next;
+  read_buffer_t buffer;
 };
 typedef struct client_struct client_t;