rabbitmq-c
0.8.0
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_tcp_socket.h
Go to the documentation of this file.
1
/* vim:set ft=c ts=2 sw=2 sts=2 et cindent: */
3
/*
4
* Portions created by Alan Antonuk are Copyright (c) 2013-2014 Alan Antonuk.
5
* All Rights Reserved.
6
*
7
* Portions created by Michael Steinert are Copyright (c) 2012-2013 Michael
8
* Steinert. All Rights Reserved.
9
*
10
* Permission is hereby granted, free of charge, to any person obtaining a
11
* copy of this software and associated documentation files (the "Software"),
12
* to deal in the Software without restriction, including without limitation
13
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
14
* and/or sell copies of the Software, and to permit persons to whom the
15
* Software is furnished to do so, subject to the following conditions:
16
*
17
* The above copyright notice and this permission notice shall be included in
18
* all copies or substantial portions of the Software.
19
*
20
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
25
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
26
* DEALINGS IN THE SOFTWARE.
27
*/
28
33
#ifndef AMQP_TCP_SOCKET_H
34
#define AMQP_TCP_SOCKET_H
35
36
#include <
amqp.h
>
37
38
AMQP_BEGIN_DECLS
39
49
AMQP_PUBLIC_FUNCTION
50
amqp_socket_t *
51
AMQP_CALL
52
amqp_tcp_socket_new
(
amqp_connection_state_t
state);
53
66
AMQP_PUBLIC_FUNCTION
67
void
68
AMQP_CALL
69
amqp_tcp_socket_set_sockfd
(amqp_socket_t *
self
,
int
sockfd);
70
71
AMQP_END_DECLS
72
73
#endif
/* AMQP_TCP_SOCKET_H */
amqp_tcp_socket_set_sockfd
void amqp_tcp_socket_set_sockfd(amqp_socket_t *self, int sockfd)
Assign an open file descriptor to a socket object.
amqp.h
amqp_tcp_socket_new
amqp_socket_t * amqp_tcp_socket_new(amqp_connection_state_t state)
A TCP socket connection.
amqp_connection_state_t
struct amqp_connection_state_t_ * amqp_connection_state_t
connection state object
Definition:
amqp.h:665
Generated on Sat Apr 9 2016 21:59:28 for rabbitmq-c by
1.8.6