]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/lib/tls.h
Backport from Bacula Enterprise
[bacula/bacula] / bacula / src / lib / tls.h
1 /*
2    Bacula(R) - The Network Backup Solution
3
4    Copyright (C) 2000-2015 Kern Sibbald
5    Copyright (C) 2000-2014 Free Software Foundation Europe e.V.
6
7    The original author of Bacula is Kern Sibbald, with contributions
8    from many others, a complete list can be found in the file AUTHORS.
9
10    You may use this file and others of this release according to the
11    license defined in the LICENSE file, which includes the Affero General
12    Public License, v3.0 ("AGPLv3") and some additional permissions and
13    terms pursuant to its AGPLv3 Section 7.
14
15    This notice must be preserved when any source code is 
16    conveyed and/or propagated.
17
18    Bacula(R) is a registered trademark of Kern Sibbald.
19 */
20 /*
21  * tls.h TLS support functions
22  *
23  * Author: Landon Fuller <landonf@threerings.net>
24  *
25  * This file was contributed to the Bacula project by Landon Fuller
26  * and Three Rings Design, Inc.
27  *
28  * Three Rings Design, Inc. has been granted a perpetual, worldwide,
29  * non-exclusive, no-charge, royalty-free, irrevocable copyright
30  * license to reproduce, prepare derivative works of, publicly
31  * display, publicly perform, sublicense, and distribute the original
32  * work contributed by Three Rings Design, Inc. and its employees to
33  * the Bacula project in source or object form.
34  *
35  * If you wish to license contributions from Three Rings Design, Inc,
36  * under an alternate open source license please contact
37  * Landon Fuller <landonf@threerings.net>.
38  */
39
40 #ifndef __TLS_H_
41 #define __TLS_H_
42
43 /*
44  * Opaque TLS Context Structure.
45  * New TLS Connections are manufactured from this context.
46  */
47 typedef struct TLS_Context TLS_CONTEXT;
48
49 /* Opaque TLS Connection Structure */
50 typedef struct TLS_Connection TLS_CONNECTION;
51
52 #endif /* __TLS_H_ */