summaryrefslogtreecommitdiffstats
path: root/include/freerdp/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/freerdp/settings.h')
-rw-r--r--include/freerdp/settings.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/freerdp/settings.h b/include/freerdp/settings.h
index cd89b32..705ba45 100644
--- a/include/freerdp/settings.h
+++ b/include/freerdp/settings.h
@@ -164,6 +164,17 @@ typedef struct rdp_settings rdpSettings;
const char* option, const char* value);
FREERDP_API BOOL freerdp_device_collection_add(rdpSettings* settings, RDPDR_DEVICE* device);
+
+ /** \brief Removed a device from the settings, returns ownership of the allocated device to
+ * caller.
+ *
+ * \param settings the settings to remove the device from
+ * \param device the device to remove
+ *
+ * \return \b TRUE if the device was removed, \b FALSE if device was not found or is NULL
+ */
+ FREERDP_API BOOL freerdp_device_collection_del(rdpSettings* settings,
+ const RDPDR_DEVICE* device);
FREERDP_API RDPDR_DEVICE* freerdp_device_collection_find(rdpSettings* settings,
const char* name);
FREERDP_API RDPDR_DEVICE* freerdp_device_collection_find_type(rdpSettings* settings,