summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* OpenVMS MMS build systemAlan Antonuk2013-06-261-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 Antonuk2013-06-141-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 stringsAlan Antonuk2013-06-131-3/+1
| | | | This is an API/ABI break.
* Updating license header in new filesAlan Antonuk2013-04-178-0/+48
|
* Fix code formatting to match the rest of the libAlan Antonuk2013-04-179-125/+149
|
* Adding vim modelines to new filesAlan Antonuk2013-04-178-0/+8
|
* Examples must link against ${RMQ_LIBRARY_TARGET}Alan Antonuk2013-04-171-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 commentsMichael Steinert2013-04-0917-17/+17
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Set the client key/cert in one API callMichael Steinert2013-04-098-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 APIMichael Steinert2013-04-091-5/+14
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Add API to load SSL keys from a bufferMichael Steinert2013-04-098-14/+70
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Convert amqp:// examples to use new socket APIMichael Steinert2013-04-098-40/+112
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Propose new socket APIMichael Steinert2013-04-0910-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 examplesMichael Steinert2013-04-099-1/+1036
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Updating license yearAlan Antonuk2013-04-0813-0/+39
|
* Formatted source code with astyle utiltyAlan Antonuk2013-04-0811-177/+217
|
* Adding vim modelines to help with source formattingAlan Antonuk2013-04-0514-0/+14
|
* CMake: build both static and shared libs in one buildAlan Antonuk2012-11-141-8/+8
|
* Removing exec bit from amqp_rpc_sendstring_client.cAlan Antonuk2012-10-241-0/+0
| | | | Somehow it had 0755 permissions, should be 0644
* New example: amqp_rpc_sendstring_client. The client sends a plain text ↵Jani Hur2012-10-052-0/+231
| | | | message to a queue and expects to receive a reply to a private reply_to queue.
* Adding more strict compile Warning flags to gcc buildAlan Antonuk2012-05-241-1/+1
| | | | | | | | Added: -Wall -Wextra -pedantic -Wstrict-prototypes -Wcast-align -Wno-unused-function -fno-common -fvisibility=hidden The library compiles cleanly with the exception of the tools dir which has trouble with the initializer lists
* Cleanup Win32 artifactsMichael Steinert2012-05-172-1/+1
| | | | | | | 1. Standardize on `win32` vs `windows/win32` 2. Move `msinttypes` into platform directory Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Fix compiler warnings (checked clang & gcc)Michael Steinert2012-05-172-2/+2
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Convert to non-recursive AutomakeMichael Steinert2012-05-171-33/+0
| | | | | | | | This change should speed up parallel builds considerably. It also simplifies the structure of the build system making it possible to properly track dependencies. Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Merge remote-tracking branch 'upstream/bug24770'Alan Antonuk2012-04-1212-321/+249
|\
| * Automated relicensing of source files MPL/GPL -> MITMarek Majkowski2012-04-1212-321/+249
| |
* | Merge remote-tracking branch 'upstream/bug24606'Alan Antonuk2012-04-1212-12/+12
|\ \ | |/
| * Update copyright 2012Emile Joubert2012-02-0212-12/+12
| |
* | Fix for stdint.h not found in exampleswin32_example_include_fixAlan Antonuk2012-03-061-1/+1
|/
* Fix: correct platform_utils directory under win32Alan Antonuk2011-11-011-1/+1
|
* Building the rest of the example programsAlan Antonuk2011-10-301-1/+34
|
* add cmake build support.XiaoGuang Zeng2011-03-031-0/+4
| | | | librabbitmq and example/amqp_sendstring can be build under linux now.
* Remove trailing whitespaceDavid Wragg2011-07-053-3/+3
|
* Update copyright noticesDavid Wragg2011-03-0112-228/+84
| | | | And generally bring debian/copyright up to date.
* More fixes for VPATH-based buildsTony Garnock-Jones2010-12-171-1/+5
| | | | Reported by Tony Garnock-Jones.
* Add newlines on error messages in examplesDavid Wragg2010-10-281-4/+4
|
* Make the examples compile and work under WindowsDavid Wragg2010-10-2113-58/+255
|
* Eliminate the AMQP_EMPTY_* macros from amqp.hDavid Wragg2010-10-216-12/+12
| | | | Hooray, amqp.h is now ISO C90 clean.
* Use the msinttypes header when building with the Microsoft compilerDavid Wragg2010-10-211-0/+4
|
* Pass "-ansi -pedantic" to gcc, so it tells us when we stray from C90David Wragg2010-10-211-0/+8
| | | | | | | | And fix up the resulting warnings We don't use "-ansi -pedantic" in the tools dir, because that code relies on libpopt, and so is unlikely ever to work with the Microsoft compiler anyway.
* Eliminate // commentsDavid Wragg2010-10-212-3/+3
| | | | They are not allowed in ISO C90.
* removed auto-delete parameter from exchange.declareAlexandru Scvortov2010-08-161-1/+1
|
* merged default into bug22951Alexandru Scvortov2010-08-043-3/+3
|\
| * this branch is default with amqp_0_9_1 merged in; everything seems to work fineAlexandru Scvortov2010-07-093-3/+3
| |
* | Eliminate unnecessary includes of errno.hDavid Wragg2010-07-283-3/+0
| |
* | Free heap-allocated error stringsDavid Wragg2010-07-271-1/+3
| | | | | | | | Even though we are about to exit anyway.
* | die_on_error expects a librabbitmq error codeDavid Wragg2010-07-272-2/+4
| |
* | Fold amqp_end_connection socket closing into amqp_destroy_connectionDavid Wragg2010-07-268-8/+8
| |
* | Make error codes returned by librabbitmq functions opaqueDavid Wragg2010-05-304-12/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | Windows doesn't generally use POSIX error codes, which poses a problem for librabbitmq's approach of using those error codes in its API. So make the librabbitmq error codes opaque: They are still be integers, but client code is not supposed to assume anything about them, except that they can be passed to a new amqp_error_string() function which returns the corresponding error message Internally, the error codes are either taken from a set of librabbitmq-specific values, or correspond to an OS-specific (POSIX or win32) error code, with a simple encoding to indicate which is which.
* | Remove uses of the GNU-specific %ll printf format modifierDavid Wragg2010-05-302-6/+6
| | | | | | | | | | The MS C runtime doesn't support it. Use the C99 inttypes.h macros instead, which is supplied by MinGW.