summaryrefslogtreecommitdiff
path: root/tools/common.h
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
|
* Update copyright noticesDavid Wragg2011-03-011-19/+7
| | | | And generally bring debian/copyright up to date.
* Fix "const char *" to "void *" conversion warningsDavid Wragg2010-07-281-2/+2
| | | | | | | | 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.
* A Windows port, using MinGW/MSYSDavid Wragg2010-05-301-8/+0
|
* Make error codes returned by librabbitmq functions opaqueDavid Wragg2010-05-301-2/+4
| | | | | | | | | | | | | 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.
* Move all includes of popt.h into common.h, which depends on it anywayDavid Wragg2010-05-301-0/+2
|
* Add license blockDavid Wragg2010-02-211-0/+50
|
* Command line AMQP tools based on rabbitmq-cDavid Wragg2010-02-201-0/+43