Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright & license header to use SPDX id | Alan Antonuk | 2021-07-27 | 16 | -520/+33 |
| | | | | | | | This makes license detection machine-readable, and makes source files more concise and easier to read and understand. Signed-off-by: GitHub <noreply@github.com> | ||||
* | cmake: modernize examples CMakeLists | Alan Antonuk | 2021-04-19 | 1 | -38/+32 |
| | |||||
* | Move official includes to rabbitmq-c/ directory | Alan Antonuk | 2021-04-05 | 12 | -24/+24 |
| | | | | | | | | | | | | | | | Move official rabbitmq-c includes under the rabbitmq-c, thus new programs should use the following include paths: amqp.h -> rabbitmq-c/amqp.h amqp_tcp_socket.h -> rabbitmq-c/tcp_socket.h amqp_ssl_socket .h-> rabbitmq-c/ssl_socket.h amqp_framing.h -> rabbitmq-c/framing.h Existing include files are left with a warning message and including their new equivalents, so existing programs should compile without modification. Signed-off-by: GitHub <noreply@github.com> | ||||
* | Support openssl engine setting | Han Mai | 2020-06-25 | 1 | -2/+7 |
| | |||||
* | Fix mem leak in examples | Andriy Gelman | 2020-01-31 | 2 | -0/+4 |
| | | | | Frees heap allocated memory in queuename.bytes on exit. | ||||
* | Examples: fix argument parsing in sendstring example | jerome | 2018-05-07 | 1 | -2/+2 |
| | |||||
* | examples: fix building against static librabbitmq. | Eduard Egorov | 2018-03-28 | 1 | -0/+4 |
| | |||||
* | Examples: Update amqp_ssl_connect.c to show how to un-initialize SSL library. | Jesus Fernandez Manzano | 2018-01-30 | 1 | -0/+1 |
| | | | | | After commit b80de27b, users have to explicitly un-initialize OpenSSL if they care to. | ||||
* | Examples: remove duplicate amqps_* examplesrm-amqps-examples | Alan Antonuk | 2018-01-09 | 10 | -1291/+2 |
| | | | | | | | amqps_* examples only differ in the connection, and are otherwise duplicates of the amqp_* examples. Delete these examples and rename amqps_connection_timeout.c to amqp_ssl_connect.c to demonstrate how to connect over SSL. | ||||
* | Format code with clang-format | Alan Antonuk | 2017-12-05 | 22 | -376/+398 |
| | |||||
* | Remove vim mode lines.format | Alan Antonuk | 2017-12-04 | 24 | -24/+0 |
| | | | | They're hard to keep in sync with .clang-format or other tools. | ||||
* | Examples: remove #include <amqp_framing.h> | Alan Antonuk | 2017-12-04 | 19 | -45/+37 |
| | | | | | amqp_framing.h is included by amqp.h, user code should not need to include this. | ||||
* | Remove unneeded braces | Juan Eugenio Abadie | 2017-10-07 | 1 | -22/+20 |
| | |||||
* | Fix: small warning fixes. | Alan Antonuk | 2016-04-09 | 3 | -6/+5 |
| | |||||
* | Lib: correct format string in amqp[s]_consumer.c | Alan Antonuk | 2016-04-09 | 2 | -2/+2 |
| | |||||
* | Lib: use for(;;) for infinite loop | Alan Antonuk | 2016-04-09 | 7 | -7/+7 |
| | |||||
* | Examples: fix incorrect shadowing of loop variable | Alan Antonuk | 2016-04-09 | 1 | -3/+3 |
| | |||||
* | Examples: use correct format specifier for uint16_t | Alan Antonuk | 2016-04-09 | 1 | -2/+2 |
| | |||||
* | Examples: add verify opts to SSL connect_timeout | Alan Antonuk | 2016-03-07 | 1 | -24/+28 |
| | | | | Add verifypeer, verifyhostname options to amqps_connect_timeout example. | ||||
* | Examples: add flags to enable verification. | Alan Antonuk | 2016-03-07 | 8 | -56/+156 |
| | | | | | | | Add verifypeer flag to enable verification of broker's certificate, and verifyhostname flag to enable verification of broker's hostname. Fixes #194 | ||||
* | Fix compiler warnings of visual studio | CodeJuan | 2015-10-23 | 1 | -1/+1 |
| | |||||
* | VMS: remove OpenVMS-related build-system. | Alan Antonuk | 2015-10-13 | 1 | -41/+0 |
| | | | | The build-system is not tested and very much out of date. Remove this dead code. | ||||
* | Win32: fixup a few MSVC warnings in test & examples | Alan Antonuk | 2015-06-02 | 1 | -1/+1 |
| | |||||
* | examples: replace usleep() with nanosleep() | Maciej Borzecki | 2015-05-14 | 1 | -5/+5 |
| | | | | | | | Accessing usleep() requires _BSD_SOURCE feature test macro to be set. However, _SVID_SOURCE is set as well, what will cause deprecation warnings when building with glibc >= 2.20. The patch replaced usleep() with nanosleep() to avoid these problems. | ||||
* | Fix int truncation warnings on Win32 | Alan Antonuk | 2015-05-04 | 1 | -1/+1 |
| | |||||
* | Enable auto_delete & internal for exchange.declaredeclare_xchg_parms | Alan Antonuk | 2014-10-19 | 2 | -2/+2 |
| | | | | | | | | Enable auto_delete and internal parameters of amqp_exchange_declare() in codegen. These were once not generated because RabbitMQ did not support these parameters. The broker now supports these and so should we. This fixes #218 | ||||
* | Print message body in amqp[s]_listen[q] examples. | Alan Antonuk | 2014-09-01 | 4 | -0/+12 |
| | | | | This fixes #199. | ||||
* | FIX: destroy amqp_envelope_t in consumer example | Alan Antonuk | 2013-08-20 | 2 | -0/+5 |
| | | | | Make sure to destroy the envelope object in the amqp_consumer.c example | ||||
* | Add a high level API for consuming messages | Alan Antonuk | 2013-07-08 | 6 | -336/+170 |
| | |||||
* | Add nonblocking connect support | zaq178miami | 2013-07-06 | 3 | -0/+248 |
| | |||||
* | Make connection the socket object owner | Alan Antonuk | 2013-07-03 | 17 | -34/+17 |
| | | | | | | | | Improve the socket interface by making the amqp_connection_state_t object the amqp_socket_t owner, and tie its lifetime to the connection's lifetime. This prevents a class of silly errors where the socket object isn't freed, or the socket object is assigned to two different connection objects | ||||
* | OpenVMS MMS build system | Alan Antonuk | 2013-06-26 | 1 | -0/+41 |
| | | | | Tested on OpenVMS v8.3 - Alpha. Likely to work on IA based systems as well | ||||
* | Preserve API/ABI of amqp_error_string() | Alan Antonuk | 2013-06-14 | 1 | -2/+2 |
| | | | | | | Preserve API/ABI of amqp_error_string() by having it return a string allocated on the heap. Deprecate this function in favor of amqp_error_string2() which returns a statically allocated string | ||||
* | Change amqp_error_string() to ret static strings | Alan Antonuk | 2013-06-13 | 1 | -3/+1 |
| | | | | This is an API/ABI break. | ||||
* | Updating license header in new files | Alan Antonuk | 2013-04-17 | 8 | -0/+48 |
| | |||||
* | Fix code formatting to match the rest of the lib | Alan Antonuk | 2013-04-17 | 9 | -125/+149 |
| | |||||
* | Adding vim modelines to new files | Alan Antonuk | 2013-04-17 | 8 | -0/+8 |
| | |||||
* | Examples must link against ${RMQ_LIBRARY_TARGET} | Alan Antonuk | 2013-04-17 | 1 | -10/+10 |
| | | | | | | SSL examples should link against the ${RMQ_LIBRARY_TARGET} in the examples directory. This allows either static or shared library to be built. | ||||
* | Start addressing review comments | Michael Steinert | 2013-04-09 | 17 | -17/+17 |
| | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com> | ||||
* | Set the client key/cert in one API call | Michael Steinert | 2013-04-09 | 8 | -64/+8 |
| | | | | | | | | It doesn't make much sense to have separate APIs to set the client key/cert pair. This change also make it easier to port to other backends. Signed-off-by: Michael Steinert <mike.steinert@gmail.com> | ||||
* | Update RPC example to use new socket API | Michael Steinert | 2013-04-09 | 1 | -5/+14 |
| | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com> | ||||
* | Add API to load SSL keys from a buffer | Michael Steinert | 2013-04-09 | 8 | -14/+70 |
| | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com> | ||||
* | Convert amqp:// examples to use new socket API | Michael Steinert | 2013-04-09 | 8 | -40/+112 |
| | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com> | ||||
* | Propose new socket API | Michael Steinert | 2013-04-09 | 10 | -74/+236 |
| | | | | | | | | | The general idea is to have a non-instantiable socket base class. Connection-specific sub-classes provide a constructor and methods for modifying connection parameters. `amqp_socket_close()` is the destructor. Signed-off-by: Michael Steinert <mike.steinert@gmail.com> | ||||
* | Add SSL/TLS examples | Michael Steinert | 2013-04-09 | 9 | -1/+1036 |
| | | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com> | ||||
* | Updating license year | Alan Antonuk | 2013-04-08 | 13 | -0/+39 |
| | |||||
* | Formatted source code with astyle utilty | Alan Antonuk | 2013-04-08 | 11 | -177/+217 |
| | |||||
* | Adding vim modelines to help with source formatting | Alan Antonuk | 2013-04-05 | 14 | -0/+14 |
| | |||||
* | CMake: build both static and shared libs in one build | Alan Antonuk | 2012-11-14 | 1 | -8/+8 |
| | |||||
* | Removing exec bit from amqp_rpc_sendstring_client.c | Alan Antonuk | 2012-10-24 | 1 | -0/+0 |
| | | | | Somehow it had 0755 permissions, should be 0644 |