This function is going to be mocked soon. Annotate and export it.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
int esxVI_LookupDatastoreHostMount(esxVI_Context *ctx,
esxVI_ManagedObjectReference *datastore,
esxVI_DatastoreHostMount **hostMount,
- esxVI_Occurrence occurrence);
+ esxVI_Occurrence occurrence) ATTRIBUTE_MOCKABLE;
int esxVI_LookupTaskInfoByTask(esxVI_Context *ctx,
esxVI_ManagedObjectReference *task,
# esx/esx_vi.h
+esxVI_LookupDatastoreHostMount;
esxVI_LookupDatastoreList;