]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vbox: move common codes to vbox_common.h
authorTaowei Luo <uaedante@gmail.com>
Fri, 24 Oct 2014 01:46:37 +0000 (09:46 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 29 Oct 2014 00:21:39 +0000 (01:21 +0100)
commit7d5b9419f1bbbb137490450f16aa79dcdebf41e5
tree651fea1b5d93f37c928bcb440c4c0127b706af1d
parenta6b1cde3caa397cdc840b7b9ce9987fd30083a87
vbox: move common codes to vbox_common.h

There are lots of macro declarations in vbox_common.c,
vbox_network.c, and the coming vbox_storage.c which simply the API
calling. Since they are totally the same. We shouldn't keep three
copies of that, so they are moved to vbox_common.h.

Note: The macros are quite different from those in vbox_tmpl.c,
      because they are using different API.
src/vbox/vbox_common.c
src/vbox/vbox_common.h
src/vbox/vbox_network.c