38 #define AMQP_BEGIN_DECLS extern "C" {
39 #define AMQP_END_DECLS }
42 #define AMQP_BEGIN_DECLS
43 #define AMQP_END_DECLS
56 #if defined(_WIN32) && defined(_MSC_VER)
57 # if defined(AMQP_BUILD) && !defined(AMQP_STATIC)
58 # define AMQP_PUBLIC_FUNCTION __declspec(dllexport)
59 # define AMQP_PUBLIC_VARIABLE __declspec(dllexport) extern
61 # define AMQP_PUBLIC_FUNCTION
62 # if !defined(AMQP_STATIC)
63 # define AMQP_PUBLIC_VARIABLE __declspec(dllimport) extern
65 # define AMQP_PUBLIC_VARIABLE extern
68 # define AMQP_CALL __cdecl
70 #elif defined(_WIN32) && defined(__BORLANDC__)
71 # if defined(AMQP_BUILD) && !defined(AMQP_STATIC)
72 # define AMQP_PUBLIC_FUNCTION __declspec(dllexport)
73 # define AMQP_PUBLIC_VARIABLE __declspec(dllexport) extern
75 # define AMQP_PUBLIC_FUNCTION
76 # if !defined(AMQP_STATIC)
77 # define AMQP_PUBLIC_VARIABLE __declspec(dllimport) extern
79 # define AMQP_PUBLIC_VARIABLE extern
82 # define AMQP_CALL __cdecl
84 #elif defined(_WIN32) && defined(__MINGW32__)
85 # if defined(AMQP_BUILD) && !defined(AMQP_STATIC)
86 # define AMQP_PUBLIC_FUNCTION __declspec(dllexport)
87 # define AMQP_PUBLIC_VARIABLE __declspec(dllexport)
89 # define AMQP_PUBLIC_FUNCTION
90 # if !defined(AMQP_STATIC)
91 # define AMQP_PUBLIC_VARIABLE __declspec(dllimport) extern
93 # define AMQP_PUBLIC_VARIABLE extern
96 # define AMQP_CALL __cdecl
98 #elif defined(_WIN32) && defined(__CYGWIN__)
99 # if defined(AMQP_BUILD) && !defined(AMQP_STATIC)
100 # define AMQP_PUBLIC_FUNCTION __declspec(dllexport)
101 # define AMQP_PUBLIC_VARIABLE __declspec(dllexport)
103 # define AMQP_PUBLIC_FUNCTION
104 # if !defined(AMQP_STATIC)
105 # define AMQP_PUBLIC_VARIABLE __declspec(dllimport) extern
107 # define AMQP_PUBLIC_VARIABLE extern
110 # define AMQP_CALL __cdecl
112 #elif defined(__GNUC__) && __GNUC__ >= 4
113 # define AMQP_PUBLIC_FUNCTION \
114 __attribute__ ((visibility ("default")))
115 # define AMQP_PUBLIC_VARIABLE \
116 __attribute__ ((visibility ("default"))) extern
120 # define AMQP_PUBLIC_FUNCTION
121 # define AMQP_PUBLIC_VARIABLE extern
154 typedef struct amqp_bytes_t_ {
162 typedef struct amqp_decimal_t_ {
174 typedef struct amqp_table_t_ {
184 typedef struct amqp_array_t_ {
231 typedef struct amqp_field_value_t_ {
255 typedef struct amqp_table_entry_t_ {
288 typedef struct amqp_pool_blocklist_t_ {
296 typedef struct amqp_pool_t_ {
314 typedef struct amqp_method_t_ {
323 typedef struct amqp_frame_t_ {
341 uint8_t transport_high;
342 uint8_t transport_low;
343 uint8_t protocol_version_major;
344 uint8_t protocol_version_minor;
353 typedef enum amqp_response_type_enum_ {
363 typedef struct amqp_rpc_reply_t_ {
381 typedef enum amqp_sasl_method_enum_ {
416 #define AMQP_EMPTY_BYTES amqp_empty_bytes
417 #define AMQP_EMPTY_TABLE amqp_empty_table
418 #define AMQP_EMPTY_ARRAY amqp_empty_array
820 void *decoded_request_method);
838 void *decoded_request_method);
891 int channel_max,
int frame_max,
int heartbeat,
894 struct amqp_basic_properties_t_;
921 struct amqp_basic_properties_t_
const *properties,
1002 AMQP_PUBLIC_FUNCTION
1017 AMQP_PUBLIC_FUNCTION
1030 AMQP_PUBLIC_FUNCTION
1049 AMQP_PUBLIC_FUNCTION
1067 AMQP_PUBLIC_FUNCTION
1094 AMQP_PUBLIC_FUNCTION
1113 AMQP_PUBLIC_FUNCTION