diff options
author | Simon Josefsson <simon@josefsson.org> | 2007-02-21 10:43:29 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2007-02-21 10:43:29 +0000 |
commit | fb9ecf7b5f0269eadd9d2f739611da222ef9f9a0 (patch) | |
tree | 4a4787052a15df68de884489e3a1a1f0621d8dc3 /lib/gnutls_supplemental.h | |
parent | bb17ae85820a43a952e841420bd58df40a0f2465 (diff) | |
download | gnutls-fb9ecf7b5f0269eadd9d2f739611da222ef9f9a0.tar.gz |
New file.
Diffstat (limited to 'lib/gnutls_supplemental.h')
-rw-r--r-- | lib/gnutls_supplemental.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/lib/gnutls_supplemental.h b/lib/gnutls_supplemental.h new file mode 100644 index 0000000000..32bd6174c8 --- /dev/null +++ b/lib/gnutls_supplemental.h @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2007 Free Software Foundation + * + * Author: Simon Josefsson + * + * This file is part of GNUTLS. + * + * The GNUTLS library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, + * USA + * + */ + +#include <gnutls_int.h> + +int _gnutls_parse_supplemental (gnutls_session_t session, + const uint8_t *data, + int data_size); +int _gnutls_gen_supplemental (gnutls_session_t session); + +typedef int (*supp_recv_func) (gnutls_session_t session, + const opaque *data, + size_t data_size); +typedef int (*supp_send_func) (gnutls_session_t session); |