summaryrefslogtreecommitdiff
path: root/examples/amqp_consumer.c
Commit message (Collapse)AuthorAgeFilesLines
* Automated relicensing of source files MPL/GPL -> MITMarek Majkowski2012-04-121-26/+20
|
* Update copyright 2012Emile Joubert2012-02-021-1/+1
|
* Remove trailing whitespaceDavid Wragg2011-07-051-1/+1
|
* Update copyright noticesDavid Wragg2011-03-011-19/+7
| | | | And generally bring debian/copyright up to date.
* Make the examples compile and work under WindowsDavid Wragg2010-10-211-6/+5
|
* Eliminate the AMQP_EMPTY_* macros from amqp.hDavid Wragg2010-10-211-4/+4
| | | | Hooray, amqp.h is now ISO C90 clean.
* Eliminate // commentsDavid Wragg2010-10-211-2/+2
| | | | They are not allowed in ISO C90.
* merged default into bug22951Alexandru Scvortov2010-08-041-1/+1
|\
| * this branch is default with amqp_0_9_1 merged in; everything seems to work fineAlexandru Scvortov2010-07-091-1/+1
| |
* | Eliminate unnecessary includes of errno.hDavid Wragg2010-07-281-1/+0
| |
* | die_on_error expects a librabbitmq error codeDavid Wragg2010-07-271-1/+2
| |
* | Fold amqp_end_connection socket closing into amqp_destroy_connectionDavid Wragg2010-07-261-1/+1
| |
* | Make error codes returned by librabbitmq functions opaqueDavid Wragg2010-05-301-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-301-2/+2
| | | | | | | | | | The MS C runtime doesn't support it. Use the C99 inttypes.h macros instead, which is supplied by MinGW.
* | Add amqp_end_connection, which closes the socket and destroys the connectionDavid Wragg2010-05-301-2/+1
|/
* Update licensing to dual MPL/GPLTony Garnock-Jones2010-02-211-0/+50
|
* Remove amqp_rpc_reply global variable, making it instead state-localTony Garnock-Jones2010-02-181-4/+4
| | | | | | and accessible only through amqp_get_rpc_reply(). Add a better comment on amqp_get_rpc_reply() to be a little clearer about when it's inappropriate to use it.
* Extend API to permit heartbeat configuration.Tony Garnock-Jones2009-08-201-1/+1
|
* Support for multiple channels.Tony Garnock-Jones2009-05-121-2/+4
| | | | | | | - amqp_login() no longer does amqp_channel_open() for you - amqp_login() takes a channel_max argument - amqp_login() actually calls amqp_tune_connection() now - amqp_channel_close() and amqp_basic_publish() now take a channel number
* Use amq.direct instead of the default exchangeTony Garnock-Jones2009-05-071-1/+1
|
* Introduce more mid-level APITony Garnock-Jones2009-05-071-45/+8
|
* Simple producer/consumer examplesTony Garnock-Jones2009-04-301-0/+172