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_LookupDatastoreByName(esxVI_Context *ctx, const char *name,
esxVI_String *propertyNameList,
esxVI_ObjectContent **datastore,
- esxVI_Occurrence occurrence);
+ esxVI_Occurrence occurrence) ATTRIBUTE_MOCKABLE;
int esxVI_LookupDatastoreByAbsolutePath(esxVI_Context *ctx,
const char *absolutePath,
# esx/esx_vi.h
+esxVI_LookupDatastoreByName;
esxVI_LookupDatastoreHostMount;
esxVI_LookupDatastoreList;