rabbitmq-c
C AMQP Client library for RabbitMQ
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
librabbitmq
amqp_ssl_socket.h
Go to the documentation of this file.
1
/* vim:set ft=c ts=2 sw=2 sts=2 et cindent: */
3
/*
4
* Copyright 2012-2013 Michael Steinert
5
*
6
* Permission is hereby granted, free of charge, to any person obtaining a
7
* copy of this software and associated documentation files (the "Software"),
8
* to deal in the Software without restriction, including without limitation
9
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
10
* and/or sell copies of the Software, and to permit persons to whom the
11
* Software is furnished to do so, subject to the following conditions:
12
*
13
* The above copyright notice and this permission notice shall be included in
14
* all copies or substantial portions of the Software.
15
*
16
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22
* DEALINGS IN THE SOFTWARE.
23
*/
24
25
#ifndef AMQP_SSL_H
26
#define AMQP_SSL_H
27
28
#include <
amqp.h
>
29
30
AMQP_BEGIN_DECLS
31
53
AMQP_PUBLIC_FUNCTION
54
amqp_socket_t *
55
AMQP_CALL
56
amqp_ssl_socket_new
(
amqp_connection_state_t
state);
57
68
AMQP_PUBLIC_FUNCTION
69
int
70
AMQP_CALL
71
amqp_ssl_socket_set_cacert
(amqp_socket_t *
self
,
72
const
char
*cacert);
73
85
AMQP_PUBLIC_FUNCTION
86
int
87
AMQP_CALL
88
amqp_ssl_socket_set_key
(amqp_socket_t *
self
,
89
const
char
*cert,
90
const
char
*key);
91
104
AMQP_PUBLIC_FUNCTION
105
int
106
AMQP_CALL
107
amqp_ssl_socket_set_key_buffer
(amqp_socket_t *
self
,
108
const
char
*cert,
109
const
void
*key,
110
size_t
n);
111
124
AMQP_PUBLIC_FUNCTION
125
void
126
AMQP_CALL
127
amqp_ssl_socket_set_verify
(amqp_socket_t *
self
,
128
amqp_boolean_t
verify);
129
154
AMQP_PUBLIC_FUNCTION
155
void
156
AMQP_CALL
157
amqp_set_initialize_ssl_library
(
amqp_boolean_t
do_initialize);
158
159
AMQP_END_DECLS
160
161
#endif
/* AMQP_SSL_H */
Generated on Tue Aug 13 2013 16:38:43 for rabbitmq-c by
1.8.4