summaryrefslogtreecommitdiffstats
path: root/common/quic.h
Commit message (Collapse)AuthorAgeFilesLines
* Add printf format annotations to all '...' functionsDaniel P. Berrange2012-03-201-3/+3
| | | | | | | | | | To allow the compile to detect incorrect printf formats, any var-args function should have a format annotation * common/macros.h: Helper to define ATTR_PRINTF for code which can't depend on glib * common/canvas_base.c, common/lz.h, common/macros.h: Annotate some var-args methods
* Use SPICE_{BEGIN,END}_DECLSMarc-André Lureau2012-03-201-6/+3
|
* Use a log handler to modify abort() behaviourMarc-André Lureau2012-03-201-3/+4
| | | | | | | | | | | | | | | Be more library friendly, by not aborting in library errors. spice_common now includes a proper log handler that will abort by default when reaching a warning. SPICE_ABORT_LEVEL can be changed to modify run-time abort level. SPICE_DEBUG_LEVEL can be changed to be more verbose. By default, only log level more importants than WARNING. Only memory-related functions are allowed to abort(), since they are not recoverable errors in the library.
* Remove trailing blank linesDaniel P. Berrange2012-03-201-1/+0
| | | | Remove any blank lines at the end of all source files
* use foo(void) instead of foo() in prototypesChristophe Fergeau2012-03-201-1/+1
| | | | | In C, the latter isn't a prototype for a function with no arg, but declares a function with an undefined number of args.
* common: add extern "C" guards to headersChristophe Fergeau2012-03-201-0/+8
| | | | | | Since some spice C++ code is using code from common/, the C functions need to be marked as such for the C++ compiler, otherwise we'll get linkage issues.
* Fix spelling errors in comments and stringsAlexander Larsson2012-03-201-1/+1
|
* Relicense everything from GPL to LGPL 2.1+Alexander Larsson2012-03-201-9/+9
|
* Add emacs settings for indent according to spice styleguideAlexander Larsson2012-03-201-0/+1
|
* fresh startYaniv Kamay2012-03-201-0/+64