Rework device API a bit and add a device_free function

This change adds a 'seat' parameter to the ecore_drm_device_find
function for located devices on a specific seat. This also adds a new
API function for freeing any returned Ecor_Drm_Device structure

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-11-29 12:41:53 +00:00
parent 056fb866e9
commit b41d7e67af
1 changed files with 2 additions and 1 deletions

View File

@ -64,6 +64,7 @@ typedef struct _Ecore_Drm_Device Ecore_Drm_Device;
EAPI int ecore_drm_init(void);
EAPI int ecore_drm_shutdown(void);
EAPI Ecore_Drm_Device *ecore_drm_device_find(const char *name);
EAPI Ecore_Drm_Device *ecore_drm_device_find(const char *name, const char *seat);
EAPI void ecore_drm_device_free(Ecore_Drm_Device *dev);
#endif