~ubuntu-branches/ubuntu/raring/gnutls26/raring

« back to all changes in this revision

Viewing changes to lib/gnutls_extensions.h

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2011-05-20 13:07:18 UTC
  • mfrom: (12.1.11 sid)
  • Revision ID: james.westby@ubuntu.com-20110520130718-db41dybbanzfvlji
Tags: 2.10.5-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Fix build failure with --no-add-needed.
  - Build for multiarch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008 Free Software Foundation
 
2
 * Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2010
 
3
 * Free Software Foundation, Inc.
3
4
 *
4
5
 * Author: Nikos Mavrogiannopoulos
5
6
 *
6
 
 * This file is part of GNUTLS.
 
7
 * This file is part of GnuTLS.
7
8
 *
8
 
 * The GNUTLS library is free software; you can redistribute it and/or
 
9
 * The GnuTLS is free software; you can redistribute it and/or
9
10
 * modify it under the terms of the GNU Lesser General Public License
10
11
 * as published by the Free Software Foundation; either version 2.1 of
11
12
 * the License, or (at your option) any later version.
24
25
 
25
26
int _gnutls_parse_extensions (gnutls_session_t session,
26
27
                              gnutls_ext_parse_type_t parse_type,
27
 
                              const opaque *data, int data_size);
 
28
                              const opaque * data, int data_size);
28
29
int _gnutls_gen_extensions (gnutls_session_t session, opaque * data,
29
 
                            size_t data_size);
 
30
                            size_t data_size, gnutls_ext_parse_type_t);
30
31
int _gnutls_ext_init (void);
31
32
void _gnutls_ext_deinit (void);
 
33
 
 
34
void _gnutls_extension_list_add (gnutls_session_t session, uint16_t type);