summaryrefslogtreecommitdiff
path: root/librabbitmq/amqp_api.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Eliminate C99-style initializers in librabbitmq .c filesDavid Wragg2010-10-211-8/+6
|
* Eliminate the AMQP_CHECK_RESULT macroDavid Wragg2010-10-211-5/+12
|
* Eliminate the old codec macrosDavid Wragg2010-10-211-1/+1
| | | | They contained gcc-isms.
* Eliminate the amqp_assert macroDavid Wragg2010-10-211-0/+13
| | | | It relied on gccisms. Replace it with a amqp_abort function.
* removed auto-delete parameter from exchange.declareAlexandru Scvortov2010-08-161-2/+1
|
* it's called routing_key in the specAlexandru Scvortov2010-08-041-2/+2
|
* merged default into bug22951Alexandru Scvortov2010-08-041-2/+3
|\
| * this branch is default with amqp_0_9_1 merged in; everything seems to work fineAlexandru Scvortov2010-07-091-2/+3
| |
* | Fix "const char *" to "void *" conversion warningsDavid Wragg2010-07-281-1/+1
| | | | | | | | | | | | | | | | Functions returning a heap-allocated string should return a "char *", not a "const char *": Because the result is heap-allocated and becomes the responsibility of the caller, it is certainly modifiable. And the pointer will likely get passed to free(), triggering a conversion warning from gcc. So remove all the relevant consts.
* | ERROR_HOST_NOT_FOUND -> ERROR_GETHOSTBYNAME_FAILEDDavid Wragg2010-07-261-1/+1
| |
* | Merge default into bug22825David Wragg2010-06-061-0/+13
|\ \ | |/
| * Added amqp_queue_delete to APITony Garnock-Jones2010-06-051-0/+13
| |
* | A Windows port, using MinGW/MSYSDavid Wragg2010-05-301-4/+2
| |
* | Make error codes returned by librabbitmq functions opaqueDavid Wragg2010-05-301-0/+35
|/ | | | | | | | | | | | | 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.
* Add TX select, commit, rollbackTony Garnock-Jones2010-03-301-2/+30
|
* 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-20/+16
| | | | | | 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.
* Reindent without changing anything.Tony Garnock-Jones2010-02-181-15/+15
|
* Use C-style comments; avoid AMQP_EXPAND_METHOD; use amqp_data_in_buffer.Tony Garnock-Jones2009-10-141-3/+7
|
* Updated amqp_simple_rpc to take a 0 terminated array of amqp_method_number_t ↵Scott Brooks2009-10-141-0/+29
| | | | | | | | | | | replies Updated AMQP_SIMPLE_RPC macro for the new format Added AMQP_MULTIPLE_RESPONSE_RPC macro to take a 0 terminated array of amqp_method_number_t replies Added amqp_basic_get function Added amqp_queue_purge function Added amqp_get_rpc_reply function to expose amqp_rpc_reply when we are not statically linking Added amqp_data_in_buffer function to check to see if amqp_simple_wait_frames will hit a blocking read
* Support basic.ack.Tony Garnock-Jones2009-08-271-0/+14
|
* Add bind/unbind utilities, and API for unbindTony Garnock-Jones2009-05-181-0/+14
|
* Support for multiple channels.Tony Garnock-Jones2009-05-121-13/+29
| | | | | | | - 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
* Send non-empty strings in .close messagesTony Garnock-Jones2009-05-071-2/+6
|
* Introduce more mid-level APITony Garnock-Jones2009-05-071-24/+74
|
* Split out mid-level API from amqp_socket.c into amqp_api.cTony Garnock-Jones2009-05-041-0/+101