[httpd/websocket/conf] Initial websocket implementation

If enabled (default) requires libwebsockets >= 2.0.2, can be disabled
with configure option --disable-websocket.
This commit is contained in:
chme
2017-08-12 20:01:57 +02:00
parent 0abf195347
commit 75eb5420fd
5 changed files with 393 additions and 1 deletions

29
src/websocket.h Normal file
View File

@@ -0,0 +1,29 @@
/*
* Copyright (C) 2017 Christian Meffert <christian.meffert@googlemail.com>
*
* This program 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 2 of the License, or
* (at your option) any later version.
*
* This program 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 this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SRC_WEBSOCKET_H_
#define SRC_WEBSOCKET_H_
int
websocket_init(void);
void
websocket_deinit(void);
#endif /* SRC_WEBSOCKET_H_ */