summaryrefslogtreecommitdiff
path: root/librabbitmq/codegen.py
Commit message (Collapse)AuthorAgeFilesLines
* Include a license block in generated filesbug23872David Wragg2011-03-021-11/+49
| | | | For consistency with broker codegen.
* Python doesn't like C commentsDavid Wragg2011-03-011-35/+35
|
* Update copyright noticesDavid Wragg2011-03-011-47/+35
| | | | And generally bring debian/copyright up to date.
* Extract common code from generated API functionsbug23645David Wragg2011-01-141-12/+4
|
* Generate API functions corresponding to most synchronous methodsDavid Wragg2011-01-071-7/+112
| | | | | | | | | | There's a lot of boilerplate code in amqp_api.c for API functions corresponding to synchronous AMQP methods. And some of the functions that should be there are missing (e.g. basic.qos, basic.cancel). Instead, we can generate these functions from the protocol definition, plus a little information to describe where the function arguments do not reflect all of the method fields.
* Make the examples compile and work under WindowsDavid Wragg2010-10-211-1/+1
|
* Convert generated code to use the new codec helper functionsDavid Wragg2010-10-211-151/+188
|
* Don't produce empty structs in generated codeDavid Wragg2010-10-211-2/+5
| | | | ISO C doesn't allow empty structs; they are a gcc extension.
* merged default into bug22951Alexandru Scvortov2010-08-041-0/+1
|\
| * this branch is default with amqp_0_9_1 merged in; everything seems to work fineAlexandru Scvortov2010-07-091-0/+1
| |
* | A Windows port, using MinGW/MSYSDavid Wragg2010-05-301-0/+1
| |
* | Make error codes returned by librabbitmq functions opaqueDavid Wragg2010-05-301-8/+6
|/ | | | | | | | | | | | | 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.
* Only allocate and check if we would ask for more than zero bytesTony Garnock-Jones2010-04-201-3/+6
|
* Check results of amqp_pool_alloc() and friends.Tony Garnock-Jones2010-04-161-0/+2
|
* Include stdint.h in generated C. HT @geoffgarside.Tony Garnock-Jones2010-03-301-0/+1
|
* Update licensing to dual MPL/GPLTony Garnock-Jones2010-02-211-30/+47
|
* Add "autogenerated code" comment to codegen.Tony Garnock-Jones2010-01-121-1/+4
|
* Add amqp_constant_name() and amqp_constant_is_hard_error().Tony Garnock-Jones2010-01-091-0/+21
|
* Add missing flagword_index incrementTony Garnock-Jones2009-08-121-0/+1
|
* Introduce more mid-level APITony Garnock-Jones2009-05-071-1/+2
|
* Avoid stomping on flags during content properties encoding.Tony Garnock-Jones2009-04-261-9/+14
|
* Publication works!Tony Garnock-Jones2009-04-261-26/+10
|
* More workTony Garnock-Jones2009-04-251-0/+20
|
* Codegen, codecTony Garnock-Jones2009-04-251-159/+250
|
* Start work on codegenTony Garnock-Jones2009-04-251-0/+342