mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Add new API virDomainBlockPull* to headers
Set up the types for the block pull functions and insert them into the virDriver structure definition. Symbols are exported in this patch to prevent documentation compile failures. * include/libvirt/libvirt.h.in: new API * src/driver.h: add the new entry to the driver structure * python/generator.py: fix compiler errors, the actual python bindings * are implemented later * src/libvirt_public.syms: export symbols * docs/apibuild.py: Extend 'unsigned long' parameter exception to this * API
This commit is contained in:
committed by
Daniel Veillard
parent
bfb485ced2
commit
152e810388
@@ -1641,7 +1641,9 @@ class CParser:
|
||||
"virDomainMigrateSetMaxSpeed" : (False, ("bandwidth")),
|
||||
"virDomainSetMaxMemory" : (False, ("memory")),
|
||||
"virDomainSetMemory" : (False, ("memory")),
|
||||
"virDomainSetMemoryFlags" : (False, ("memory")) }
|
||||
"virDomainSetMemoryFlags" : (False, ("memory")),
|
||||
"virDomainBlockJobSetSpeed" : (False, ("bandwidth")),
|
||||
"virDomainBlockPull" : (False, ("bandwidth")) }
|
||||
|
||||
def checkLongLegacyFunction(self, name, return_type, signature):
|
||||
if "long" in return_type and "long long" not in return_type:
|
||||
@@ -1667,7 +1669,8 @@ class CParser:
|
||||
# [unsigned] long long
|
||||
long_legacy_struct_fields = \
|
||||
{ "_virDomainInfo" : ("maxMem", "memory"),
|
||||
"_virNodeInfo" : ("memory") }
|
||||
"_virNodeInfo" : ("memory"),
|
||||
"_virDomainBlockJobInfo" : ("bandwidth") }
|
||||
|
||||
def checkLongLegacyStruct(self, name, fields):
|
||||
for field in fields:
|
||||
|
||||
Reference in New Issue
Block a user