#ifndef DRM_LEASE_H
#define DRM_LEASE_H
+#include <stdbool.h>
#include <stdint.h>
struct lease_handle {
void *user_data;
};
+struct connector_config {
+ char *name;
+ bool optional;
+};
+
struct lease_config {
char *lease_name;
int ncids;
uint32_t *connector_ids;
- int cnames;
- char **connector_names;
+ int nconnectors;
+ struct connector_config *connectors;
};
#endif