X-Git-Url: https://git.realraum.at/?p=svn42.git;a=blobdiff_plain;f=powersensordaemon%2Fclient_list.h;fp=powersensordaemon%2Fclient_list.h;h=0000000000000000000000000000000000000000;hp=9237688237e775fa5ee777b813b145894048cbdf;hb=ff9137d257207a3a4b03c4f453cc1b7ce1e3cf17;hpb=a34e51d757fe52cb19de2937ae1b211894167524 diff --git a/powersensordaemon/client_list.h b/powersensordaemon/client_list.h deleted file mode 100644 index 9237688..0000000 --- a/powersensordaemon/client_list.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * powersensordaemon - * - * Copyright (C) 2009 Christian Pointner - * - * This file is part of powersensordaemon. - * - * powersensordaemon is free software: you can redistribute it and/or modify - * 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. - * - * powersensordaemon is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with powersensordaemon. If not, see . - */ - -#ifndef POWERSENSORDAEMON_client_list_h_INCLUDED -#define POWERSENSORDAEMON_client_list_h_INCLUDED - -#include "datatypes.h" - -struct client_struct { - int fd; - int request_listener; - int error_listener; - int sensor_listener; - int movement_listener; - int button_listener; - struct client_struct* next; - read_buffer_t buffer; -}; -typedef struct client_struct client_t; - -int client_add(client_t** first, int fd); -void client_remove(client_t** first, int fd); -client_t* client_find(client_t* first, int fd); -void client_clear(client_t** first); - -#endif