/* Automatically generated from ./remote/remote_protocol.x by gendispatch.pl.
 * Do not edit this file.  Any changes you make will be lost.
 */
#include "internal.h"
#include "domain_conf.h"
#include "network_conf.h"
#include "secret_conf.h"
#include "storage_conf.h"
#include "nwfilter_conf.h"
#include "node_device_conf.h"
#include "interface_conf.h"
#include "virnwfilterbindingdef.h"

extern int virConnectBaselineCPUEnsureACL(virConnectPtr conn);
extern int virConnectBaselineHypervisorCPUEnsureACL(virConnectPtr conn);
extern int virConnectCompareCPUEnsureACL(virConnectPtr conn);
extern int virConnectCompareHypervisorCPUEnsureACL(virConnectPtr conn);
extern int virConnectDomainEventCallbackDeregisterAnyEnsureACL(virConnectPtr conn);
extern int virConnectDomainEventCallbackRegisterAnyEnsureACL(virConnectPtr conn);
extern bool virConnectDomainEventCallbackRegisterAnyCheckACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virConnectDomainEventDeregisterEnsureACL(virConnectPtr conn);
extern int virConnectDomainEventDeregisterAnyEnsureACL(virConnectPtr conn);
extern int virConnectDomainEventRegisterEnsureACL(virConnectPtr conn);
extern bool virConnectDomainEventRegisterCheckACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virConnectDomainEventRegisterAnyEnsureACL(virConnectPtr conn);
extern bool virConnectDomainEventRegisterAnyCheckACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virConnectDomainXMLFromNativeEnsureACL(virConnectPtr conn);
extern int virConnectDomainXMLToNativeEnsureACL(virConnectPtr conn);
extern int virConnectFindStoragePoolSourcesEnsureACL(virConnectPtr conn);
extern int virConnectGetAllDomainStatsEnsureACL(virConnectPtr conn);
extern bool virConnectGetAllDomainStatsCheckACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virConnectGetCapabilitiesEnsureACL(virConnectPtr conn);
extern int virConnectGetCPUModelNamesEnsureACL(virConnectPtr conn);
extern int virConnectGetDomainCapabilitiesEnsureACL(virConnectPtr conn);
extern int virConnectGetHostnameEnsureACL(virConnectPtr conn);
extern int virConnectGetLibVersionEnsureACL(virConnectPtr conn);
extern int virConnectGetMaxVcpusEnsureACL(virConnectPtr conn);
extern int virConnectGetStoragePoolCapabilitiesEnsureACL(virConnectPtr conn);
extern int virConnectGetSysinfoEnsureACL(virConnectPtr conn);
extern int virConnectGetTypeEnsureACL(virConnectPtr conn);
extern int virConnectGetURIEnsureACL(virConnectPtr conn);
extern int virConnectGetVersionEnsureACL(virConnectPtr conn);
extern int virConnectListAllDomainsEnsureACL(virConnectPtr conn);
extern bool virConnectListAllDomainsCheckACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virConnectListAllInterfacesEnsureACL(virConnectPtr conn);
extern bool virConnectListAllInterfacesCheckACL(virConnectPtr conn, virInterfaceDefPtr iface);
extern int virConnectListAllNetworksEnsureACL(virConnectPtr conn);
extern bool virConnectListAllNetworksCheckACL(virConnectPtr conn, virNetworkDefPtr network);
extern int virConnectListAllNodeDevicesEnsureACL(virConnectPtr conn);
extern bool virConnectListAllNodeDevicesCheckACL(virConnectPtr conn, virNodeDeviceDefPtr device);
extern int virConnectListAllNWFilterBindingsEnsureACL(virConnectPtr conn);
extern bool virConnectListAllNWFilterBindingsCheckACL(virConnectPtr conn, virNWFilterBindingDefPtr binding);
extern int virConnectListAllNWFiltersEnsureACL(virConnectPtr conn);
extern bool virConnectListAllNWFiltersCheckACL(virConnectPtr conn, virNWFilterDefPtr nwfilter);
extern int virConnectListAllSecretsEnsureACL(virConnectPtr conn);
extern bool virConnectListAllSecretsCheckACL(virConnectPtr conn, virSecretDefPtr secret);
extern int virConnectListAllStoragePoolsEnsureACL(virConnectPtr conn);
extern bool virConnectListAllStoragePoolsCheckACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern int virConnectListDefinedDomainsEnsureACL(virConnectPtr conn);
extern bool virConnectListDefinedDomainsCheckACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virConnectListDefinedInterfacesEnsureACL(virConnectPtr conn);
extern bool virConnectListDefinedInterfacesCheckACL(virConnectPtr conn, virInterfaceDefPtr iface);
extern int virConnectListDefinedNetworksEnsureACL(virConnectPtr conn);
extern bool virConnectListDefinedNetworksCheckACL(virConnectPtr conn, virNetworkDefPtr network);
extern int virConnectListDefinedStoragePoolsEnsureACL(virConnectPtr conn);
extern bool virConnectListDefinedStoragePoolsCheckACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern int virConnectListDomainsEnsureACL(virConnectPtr conn);
extern bool virConnectListDomainsCheckACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virConnectListInterfacesEnsureACL(virConnectPtr conn);
extern bool virConnectListInterfacesCheckACL(virConnectPtr conn, virInterfaceDefPtr iface);
extern int virConnectListNetworksEnsureACL(virConnectPtr conn);
extern bool virConnectListNetworksCheckACL(virConnectPtr conn, virNetworkDefPtr network);
extern int virConnectListNWFiltersEnsureACL(virConnectPtr conn);
extern bool virConnectListNWFiltersCheckACL(virConnectPtr conn, virNWFilterDefPtr nwfilter);
extern int virConnectListSecretsEnsureACL(virConnectPtr conn);
extern bool virConnectListSecretsCheckACL(virConnectPtr conn, virSecretDefPtr secret);
extern int virConnectListStoragePoolsEnsureACL(virConnectPtr conn);
extern bool virConnectListStoragePoolsCheckACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern int virConnectNetworkEventDeregisterAnyEnsureACL(virConnectPtr conn);
extern int virConnectNetworkEventRegisterAnyEnsureACL(virConnectPtr conn);
extern bool virConnectNetworkEventRegisterAnyCheckACL(virConnectPtr conn, virNetworkDefPtr network);
extern int virConnectNodeDeviceEventDeregisterAnyEnsureACL(virConnectPtr conn);
extern int virConnectNodeDeviceEventRegisterAnyEnsureACL(virConnectPtr conn);
extern bool virConnectNodeDeviceEventRegisterAnyCheckACL(virConnectPtr conn, virNodeDeviceDefPtr device);
extern int virConnectNumOfDefinedDomainsEnsureACL(virConnectPtr conn);
extern bool virConnectNumOfDefinedDomainsCheckACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virConnectNumOfDefinedInterfacesEnsureACL(virConnectPtr conn);
extern bool virConnectNumOfDefinedInterfacesCheckACL(virConnectPtr conn, virInterfaceDefPtr iface);
extern int virConnectNumOfDefinedNetworksEnsureACL(virConnectPtr conn);
extern bool virConnectNumOfDefinedNetworksCheckACL(virConnectPtr conn, virNetworkDefPtr network);
extern int virConnectNumOfDefinedStoragePoolsEnsureACL(virConnectPtr conn);
extern bool virConnectNumOfDefinedStoragePoolsCheckACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern int virConnectNumOfDomainsEnsureACL(virConnectPtr conn);
extern bool virConnectNumOfDomainsCheckACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virConnectNumOfInterfacesEnsureACL(virConnectPtr conn);
extern bool virConnectNumOfInterfacesCheckACL(virConnectPtr conn, virInterfaceDefPtr iface);
extern int virConnectNumOfNetworksEnsureACL(virConnectPtr conn);
extern bool virConnectNumOfNetworksCheckACL(virConnectPtr conn, virNetworkDefPtr network);
extern int virConnectNumOfNWFiltersEnsureACL(virConnectPtr conn);
extern bool virConnectNumOfNWFiltersCheckACL(virConnectPtr conn, virNWFilterDefPtr nwfilter);
extern int virConnectNumOfSecretsEnsureACL(virConnectPtr conn);
extern bool virConnectNumOfSecretsCheckACL(virConnectPtr conn, virSecretDefPtr secret);
extern int virConnectNumOfStoragePoolsEnsureACL(virConnectPtr conn);
extern bool virConnectNumOfStoragePoolsCheckACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern int virConnectOpenEnsureACL(virConnectPtr conn);
extern int virConnectRegisterCloseCallbackEnsureACL(virConnectPtr conn);
extern int virConnectSecretEventDeregisterAnyEnsureACL(virConnectPtr conn);
extern int virConnectSecretEventRegisterAnyEnsureACL(virConnectPtr conn);
extern bool virConnectSecretEventRegisterAnyCheckACL(virConnectPtr conn, virSecretDefPtr secret);
extern int virConnectSetIdentityEnsureACL(virConnectPtr conn);
extern int virConnectStoragePoolEventDeregisterAnyEnsureACL(virConnectPtr conn);
extern int virConnectStoragePoolEventRegisterAnyEnsureACL(virConnectPtr conn);
extern bool virConnectStoragePoolEventRegisterAnyCheckACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern int virConnectSupportsFeatureEnsureACL(virConnectPtr conn);
extern int virConnectUnregisterCloseCallbackEnsureACL(virConnectPtr conn);
extern int virDomainAbortJobEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainAddIOThreadEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainAttachDeviceEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainAttachDeviceFlagsEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainBlockCommitEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainBlockCopyEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainBlockJobAbortEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainBlockJobSetSpeedEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainBlockPeekEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainBlockPullEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainBlockRebaseEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainBlockResizeEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainBlockStatsEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainBlockStatsFlagsEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainCheckpointCreateXMLEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainCheckpointDeleteEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainCheckpointGetParentEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainCheckpointGetXMLDescEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainCheckpointListAllChildrenEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainCheckpointLookupByNameEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainCoreDumpEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainCoreDumpWithFormatEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainCreateEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainCreateWithFilesEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainCreateWithFlagsEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainCreateXMLEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainCreateXMLWithFilesEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainDefineXMLEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainDefineXMLFlagsEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainDelIOThreadEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainDestroyEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainDestroyFlagsEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainDetachDeviceEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainDetachDeviceAliasEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainDetachDeviceFlagsEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainFSFreezeEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainFSThawEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainFSTrimEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetAutostartEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetBlkioParametersEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetBlockInfoEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetBlockIoTuneEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetBlockJobInfoEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetControlInfoEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetCPUStatsEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetDiskErrorsEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetEmulatorPinInfoEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetFSInfoEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetGuestInfoEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetGuestVcpusEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetHostnameEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetInfoEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetInterfaceParametersEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetIOThreadInfoEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetJobInfoEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetJobStatsEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetLaunchSecurityInfoEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetMaxMemoryEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetMaxVcpusEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetMemoryParametersEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetMetadataEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetNumaParametersEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetOSTypeEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetPerfEventsEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetSchedulerParametersEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetSchedulerParametersFlagsEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetSchedulerTypeEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetSecurityLabelEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetSecurityLabelListEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetStateEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetTimeEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetVcpuPinInfoEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetVcpusEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainGetVcpusFlagsEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainGetXMLDescEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainHasCurrentSnapshotEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainHasManagedSaveImageEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainInjectNMIEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainInterfaceAddressesEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainInterfaceStatsEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainIsActiveEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainIsPersistentEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainIsUpdatedEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainListAllCheckpointsEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainListAllSnapshotsEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainLookupByIDEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainLookupByNameEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainLookupByUUIDEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainManagedSaveEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainManagedSaveDefineXMLEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainManagedSaveGetXMLDescEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainManagedSaveRemoveEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMemoryPeekEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMemoryStatsEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMigrateBegin3EnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMigrateBegin3ParamsEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMigrateConfirm3EnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMigrateConfirm3ParamsEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMigrateFinishEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMigrateFinish2EnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMigrateFinish3EnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMigrateFinish3ParamsEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMigrateGetCompressionCacheEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMigrateGetMaxDowntimeEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMigrateGetMaxSpeedEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMigratePerformEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMigratePerform3EnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMigratePerform3ParamsEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMigratePrepareEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMigratePrepare2EnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMigratePrepare3EnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMigratePrepare3ParamsEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMigratePrepareTunnelEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMigratePrepareTunnel3EnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMigratePrepareTunnel3ParamsEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMigrateSetCompressionCacheEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMigrateSetMaxDowntimeEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMigrateSetMaxSpeedEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainMigrateStartPostCopyEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainOpenChannelEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainOpenConsoleEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainOpenGraphicsEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainOpenGraphicsFdEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainPinEmulatorEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainPinIOThreadEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainPinVcpuEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainPinVcpuFlagsEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainPMSuspendForDurationEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainPMWakeupEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainRebootEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainRenameEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainResetEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainRestoreEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainRestoreFlagsEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainResumeEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainRevertToSnapshotEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSaveEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSaveFlagsEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSaveImageDefineXMLEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSaveImageGetXMLDescEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainScreenshotEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSendKeyEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSendProcessSignalEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSetAutostartEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSetBlkioParametersEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainSetBlockIoTuneEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainSetBlockThresholdEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSetGuestVcpusEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSetInterfaceParametersEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainSetIOThreadParamsEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainSetLifecycleActionEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSetMaxMemoryEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSetMemoryEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSetMemoryFlagsEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainSetMemoryParametersEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainSetMemoryStatsPeriodEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainSetMetadataEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainSetNumaParametersEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainSetPerfEventsEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSetSchedulerParametersEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSetSchedulerParametersFlagsEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainSetTimeEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSetUserPasswordEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSetVcpuEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainSetVcpusEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSetVcpusFlagsEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainShutdownEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainShutdownFlagsEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainSnapshotCreateXMLEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainSnapshotCurrentEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSnapshotDeleteEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSnapshotGetParentEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSnapshotGetXMLDescEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virDomainSnapshotHasMetadataEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSnapshotIsCurrentEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSnapshotListAllChildrenEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSnapshotListChildrenNamesEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSnapshotListNamesEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSnapshotLookupByNameEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSnapshotNumEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSnapshotNumChildrenEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainSuspendEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainUndefineEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainUndefineFlagsEnsureACL(virConnectPtr conn, virDomainDefPtr domain);
extern int virDomainUpdateDeviceFlagsEnsureACL(virConnectPtr conn, virDomainDefPtr domain, unsigned int flags);
extern int virInterfaceChangeBeginEnsureACL(virConnectPtr conn);
extern int virInterfaceChangeCommitEnsureACL(virConnectPtr conn);
extern int virInterfaceChangeRollbackEnsureACL(virConnectPtr conn);
extern int virInterfaceCreateEnsureACL(virConnectPtr conn, virInterfaceDefPtr iface);
extern int virInterfaceDefineXMLEnsureACL(virConnectPtr conn, virInterfaceDefPtr iface);
extern int virInterfaceDestroyEnsureACL(virConnectPtr conn, virInterfaceDefPtr iface);
extern int virInterfaceGetXMLDescEnsureACL(virConnectPtr conn, virInterfaceDefPtr iface);
extern int virInterfaceIsActiveEnsureACL(virConnectPtr conn, virInterfaceDefPtr iface);
extern int virInterfaceLookupByMACStringEnsureACL(virConnectPtr conn, virInterfaceDefPtr iface);
extern int virInterfaceLookupByNameEnsureACL(virConnectPtr conn, virInterfaceDefPtr iface);
extern int virInterfaceUndefineEnsureACL(virConnectPtr conn, virInterfaceDefPtr iface);
extern int virNetworkCreateEnsureACL(virConnectPtr conn, virNetworkDefPtr network);
extern int virNetworkCreateXMLEnsureACL(virConnectPtr conn, virNetworkDefPtr network);
extern int virNetworkDefineXMLEnsureACL(virConnectPtr conn, virNetworkDefPtr network);
extern int virNetworkDestroyEnsureACL(virConnectPtr conn, virNetworkDefPtr network);
extern int virNetworkGetAutostartEnsureACL(virConnectPtr conn, virNetworkDefPtr network);
extern int virNetworkGetBridgeNameEnsureACL(virConnectPtr conn, virNetworkDefPtr network);
extern int virNetworkGetDHCPLeasesEnsureACL(virConnectPtr conn, virNetworkDefPtr network);
extern int virNetworkGetXMLDescEnsureACL(virConnectPtr conn, virNetworkDefPtr network);
extern int virNetworkIsActiveEnsureACL(virConnectPtr conn, virNetworkDefPtr network);
extern int virNetworkIsPersistentEnsureACL(virConnectPtr conn, virNetworkDefPtr network);
extern int virNetworkListAllPortsEnsureACL(virConnectPtr conn, virNetworkDefPtr network);
extern bool virNetworkListAllPortsCheckACL(virConnectPtr conn, virNetworkDefPtr net, virNetworkPortDefPtr port);
extern int virNetworkLookupByNameEnsureACL(virConnectPtr conn, virNetworkDefPtr network);
extern int virNetworkLookupByUUIDEnsureACL(virConnectPtr conn, virNetworkDefPtr network);
extern int virNetworkPortCreateXMLEnsureACL(virConnectPtr conn, virNetworkDefPtr net, virNetworkPortDefPtr port);
extern int virNetworkPortDeleteEnsureACL(virConnectPtr conn, virNetworkDefPtr net, virNetworkPortDefPtr port);
extern int virNetworkPortGetParametersEnsureACL(virConnectPtr conn, virNetworkDefPtr net, virNetworkPortDefPtr port);
extern int virNetworkPortGetXMLDescEnsureACL(virConnectPtr conn, virNetworkDefPtr net, virNetworkPortDefPtr port);
extern int virNetworkPortLookupByUUIDEnsureACL(virConnectPtr conn, virNetworkDefPtr net, virNetworkPortDefPtr port);
extern int virNetworkPortSetParametersEnsureACL(virConnectPtr conn, virNetworkDefPtr net, virNetworkPortDefPtr port);
extern int virNetworkSetAutostartEnsureACL(virConnectPtr conn, virNetworkDefPtr network);
extern int virNetworkUndefineEnsureACL(virConnectPtr conn, virNetworkDefPtr network);
extern int virNetworkUpdateEnsureACL(virConnectPtr conn, virNetworkDefPtr network, unsigned int flags);
extern int virNodeAllocPagesEnsureACL(virConnectPtr conn);
extern int virNodeDeviceCreateXMLEnsureACL(virConnectPtr conn, virNodeDeviceDefPtr device);
extern int virNodeDeviceDestroyEnsureACL(virConnectPtr conn, virNodeDeviceDefPtr device);
extern int virNodeDeviceDetachFlagsEnsureACL(virConnectPtr conn, virNodeDeviceDefPtr device);
extern int virNodeDeviceDettachEnsureACL(virConnectPtr conn, virNodeDeviceDefPtr device);
extern int virNodeDeviceGetParentEnsureACL(virConnectPtr conn, virNodeDeviceDefPtr device);
extern int virNodeDeviceGetXMLDescEnsureACL(virConnectPtr conn, virNodeDeviceDefPtr device);
extern int virNodeDeviceListCapsEnsureACL(virConnectPtr conn, virNodeDeviceDefPtr device);
extern int virNodeDeviceLookupByNameEnsureACL(virConnectPtr conn, virNodeDeviceDefPtr device);
extern int virNodeDeviceLookupSCSIHostByWWNEnsureACL(virConnectPtr conn, virNodeDeviceDefPtr device);
extern int virNodeDeviceNumOfCapsEnsureACL(virConnectPtr conn, virNodeDeviceDefPtr device);
extern int virNodeDeviceReAttachEnsureACL(virConnectPtr conn, virNodeDeviceDefPtr device);
extern int virNodeDeviceResetEnsureACL(virConnectPtr conn, virNodeDeviceDefPtr device);
extern int virNodeGetCellsFreeMemoryEnsureACL(virConnectPtr conn);
extern int virNodeGetCPUMapEnsureACL(virConnectPtr conn);
extern int virNodeGetCPUStatsEnsureACL(virConnectPtr conn);
extern int virNodeGetFreeMemoryEnsureACL(virConnectPtr conn);
extern int virNodeGetFreePagesEnsureACL(virConnectPtr conn);
extern int virNodeGetInfoEnsureACL(virConnectPtr conn);
extern int virNodeGetMemoryParametersEnsureACL(virConnectPtr conn);
extern int virNodeGetMemoryStatsEnsureACL(virConnectPtr conn);
extern int virNodeGetSecurityModelEnsureACL(virConnectPtr conn);
extern int virNodeGetSevInfoEnsureACL(virConnectPtr conn);
extern int virNodeListDevicesEnsureACL(virConnectPtr conn);
extern bool virNodeListDevicesCheckACL(virConnectPtr conn, virNodeDeviceDefPtr device);
extern int virNodeNumOfDevicesEnsureACL(virConnectPtr conn);
extern bool virNodeNumOfDevicesCheckACL(virConnectPtr conn, virNodeDeviceDefPtr device);
extern int virNodeSetMemoryParametersEnsureACL(virConnectPtr conn);
extern int virNodeSuspendForDurationEnsureACL(virConnectPtr conn);
extern int virNWFilterBindingCreateXMLEnsureACL(virConnectPtr conn, virNWFilterBindingDefPtr binding);
extern int virNWFilterBindingDeleteEnsureACL(virConnectPtr conn, virNWFilterBindingDefPtr binding);
extern int virNWFilterBindingGetXMLDescEnsureACL(virConnectPtr conn, virNWFilterBindingDefPtr binding);
extern int virNWFilterBindingLookupByPortDevEnsureACL(virConnectPtr conn, virNWFilterBindingDefPtr binding);
extern int virNWFilterDefineXMLEnsureACL(virConnectPtr conn, virNWFilterDefPtr nwfilter);
extern int virNWFilterGetXMLDescEnsureACL(virConnectPtr conn, virNWFilterDefPtr nwfilter);
extern int virNWFilterLookupByNameEnsureACL(virConnectPtr conn, virNWFilterDefPtr nwfilter);
extern int virNWFilterLookupByUUIDEnsureACL(virConnectPtr conn, virNWFilterDefPtr nwfilter);
extern int virNWFilterUndefineEnsureACL(virConnectPtr conn, virNWFilterDefPtr nwfilter);
extern int virSecretDefineXMLEnsureACL(virConnectPtr conn, virSecretDefPtr secret);
extern int virSecretGetValueEnsureACL(virConnectPtr conn, virSecretDefPtr secret);
extern int virSecretGetXMLDescEnsureACL(virConnectPtr conn, virSecretDefPtr secret);
extern int virSecretLookupByUsageEnsureACL(virConnectPtr conn, virSecretDefPtr secret);
extern int virSecretLookupByUUIDEnsureACL(virConnectPtr conn, virSecretDefPtr secret);
extern int virSecretSetValueEnsureACL(virConnectPtr conn, virSecretDefPtr secret);
extern int virSecretUndefineEnsureACL(virConnectPtr conn, virSecretDefPtr secret);
extern int virStoragePoolBuildEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern int virStoragePoolCreateEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern int virStoragePoolCreateXMLEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern int virStoragePoolDefineXMLEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern int virStoragePoolDeleteEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern int virStoragePoolDestroyEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern int virStoragePoolGetAutostartEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern int virStoragePoolGetInfoEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern int virStoragePoolGetXMLDescEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern int virStoragePoolIsActiveEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern int virStoragePoolIsPersistentEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern int virStoragePoolListAllVolumesEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern bool virStoragePoolListAllVolumesCheckACL(virConnectPtr conn, virStoragePoolDefPtr pool, virStorageVolDefPtr vol);
extern int virStoragePoolListVolumesEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern bool virStoragePoolListVolumesCheckACL(virConnectPtr conn, virStoragePoolDefPtr pool, virStorageVolDefPtr vol);
extern int virStoragePoolLookupByNameEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern int virStoragePoolLookupByTargetPathEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern int virStoragePoolLookupByUUIDEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern int virStoragePoolLookupByVolumeEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern int virStoragePoolNumOfVolumesEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern bool virStoragePoolNumOfVolumesCheckACL(virConnectPtr conn, virStoragePoolDefPtr pool, virStorageVolDefPtr vol);
extern int virStoragePoolRefreshEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern int virStoragePoolSetAutostartEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern int virStoragePoolUndefineEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool);
extern int virStorageVolCreateXMLEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool, virStorageVolDefPtr vol);
extern int virStorageVolCreateXMLFromEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool, virStorageVolDefPtr vol);
extern int virStorageVolDeleteEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool, virStorageVolDefPtr vol);
extern int virStorageVolDownloadEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool, virStorageVolDefPtr vol);
extern int virStorageVolGetInfoEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool, virStorageVolDefPtr vol);
extern int virStorageVolGetInfoFlagsEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool, virStorageVolDefPtr vol);
extern int virStorageVolGetPathEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool, virStorageVolDefPtr vol);
extern int virStorageVolGetXMLDescEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool, virStorageVolDefPtr vol);
extern int virStorageVolLookupByKeyEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool, virStorageVolDefPtr vol);
extern int virStorageVolLookupByNameEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool, virStorageVolDefPtr vol);
extern int virStorageVolLookupByPathEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool, virStorageVolDefPtr vol);
extern int virStorageVolResizeEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool, virStorageVolDefPtr vol);
extern int virStorageVolUploadEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool, virStorageVolDefPtr vol);
extern int virStorageVolWipeEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool, virStorageVolDefPtr vol);
extern int virStorageVolWipePatternEnsureACL(virConnectPtr conn, virStoragePoolDefPtr pool, virStorageVolDefPtr vol);
