blob: c5407be6774c9c7c2d5fb7c9e84150e2f3937b9f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/*
* This file is part of libwebsock
*
* Copyright (C) 2012 Payden Sutherland
*
* libwebsock 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; version 3 of the License.
*
* libwebsock 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 libwebsock; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef FRAMES_H_
#define FRAMES_H_
#include "types.h"
inline void libwebsock_frame_act(libwebsock_client_state *state, libwebsock_frame *frame);
void libwebsock_free_all_frames(libwebsock_client_state *state);
void libwebsock_cleanup_frames(libwebsock_frame *first);
void libwebsock_dump_frame(libwebsock_frame *frame);
int libwebsock_read_header(libwebsock_frame *frame);
#endif /* FRAMES_H_ */
|