Commit Graph

9 Commits

Author SHA1 Message Date
Frediano Ziglio
295d05e733 Define and use new SPICE_MAGIC_CONST macro
This macro allow to define magic constants without using weird
memory tweacks.
This remove some possible warning from some compiler and
make code more optimized as compiler is able to compute the
constant.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
2015-08-12 14:15:27 +02:00
Marc-André Lureau
2d7bf3ed7f vdi-dev: mark as deprecated
This interface has long been deprecated, and I don't know of any user.
Perhaps the header could even be removed from spice-protocol?
2014-12-04 17:39:08 +01:00
Alexander Larsson
e625b1a1fb Always include using <spice/foo.h> style 2010-02-04 16:47:23 +01:00
Alexander Larsson
49fccfefc8 Clean up and standardize header guards 2010-02-04 16:47:14 +01:00
Alexander Larsson
90352580a0 Rename all identifiers
This is just the result of running:
./rename-identifiers.sh renames spice/*.h
2010-02-04 16:46:27 +01:00
Alexander Larsson
9032d5235b Use <spice/barrier.h> memory barrier 2010-02-04 16:43:24 +01:00
Alexander Larsson
7050ae14a4 Add standard header for structure packing 2010-02-04 16:43:15 +01:00
Alexander Larsson
c2852f6b5f Use spice/types.h and its types
There is a standard for integer types (i.e. uint32_t) which we're using
at some places, but not others. Lets use it everywhere.
2010-02-04 16:40:42 +01:00
Alexander Larsson
e0f9912933 Import all protocol headers from spice/common 2010-02-04 16:18:44 +01:00