test/libdrm_mock: add stub blob functions

This commit is contained in:
Simon Ser 2023-02-09 16:40:57 +01:00
parent 0811ce855b
commit 8a9167f9fd

View file

@ -601,3 +601,16 @@ drmCloseBufferHandle(int fd, uint32_t handle)
errno = EINVAL;
return -EINVAL;
}
drmModePropertyBlobRes *
drmModeGetPropertyBlob(int fd, uint32_t blob_id)
{
errno = EINVAL; /* TODO */
return NULL;
}
void
drmModeFreePropertyBlob(drmModePropertyBlobRes *blob)
{
free(blob);
}