Wrapper library providing emulation of kernel DRM interface