2 * Copyright (C) 2000-2012 Free Software Foundation, Inc.
4 * Author: Nikos Mavrogiannopoulos
6 * This file is part of GnuTLS.
8 * The GnuTLS is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public License
10 * as published by the Free Software Foundation; either version 3 of
11 * the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>
23 #ifndef GNUTLS_RECORD_H
24 #define GNUTLS_RECORD_H
26 #include <gnutls/gnutls.h>
27 #include <gnutls_buffers.h>
29 ssize_t
_gnutls_send_int (gnutls_session_t session
, content_type_t type
,
30 gnutls_handshake_description_t htype
,
31 unsigned int epoch_rel
, const void *data
,
32 size_t sizeofdata
, unsigned int mflags
);
33 ssize_t
_gnutls_recv_int (gnutls_session_t session
, content_type_t type
,
34 gnutls_handshake_description_t
, uint8_t * data
,
35 size_t sizeofdata
, void* seq
, unsigned int ms
);
36 int _gnutls_get_max_decrypted_data(gnutls_session_t session
);