deprecated since 2009
From 65c162c725302d862520ec23941fc3a188602fe6 Mon Sep 17 00:00:00 2001
From: Lyndon Brown <[email protected]>
Date: Wed, 13 Jun 2018 20:32:21 +0100
Subject: introspection: purge autoload

deprecated since 2009

diff --git a/src/map-file b/src/map-file
index 9b6cba22..baf3799f 100644
--- a/src/map-file
+++ b/src/map-file
@@ -27,15 +27,11 @@ pa_channel_position_from_string;
 pa_channel_position_to_pretty_string;
 pa_channel_position_to_string;
 pa_channels_valid;
-pa_context_add_autoload;
 pa_context_connect;
 pa_context_disconnect;
 pa_context_drain;
 pa_context_errno;
 pa_context_exit_daemon;
-pa_context_get_autoload_info_by_index;
-pa_context_get_autoload_info_by_name;
-pa_context_get_autoload_info_list;
 pa_context_get_card_info_by_index;
 pa_context_get_card_info_by_name;
 pa_context_get_card_info_list;
@@ -82,8 +78,6 @@ pa_context_play_sample_with_proplist;
 pa_context_proplist_remove;
 pa_context_proplist_update;
 pa_context_ref;
-pa_context_remove_autoload_by_index;
-pa_context_remove_autoload_by_name;
 pa_context_remove_sample;
 pa_context_rttime_new;
 pa_context_rttime_restart;
diff --git a/src/pulse/def.h b/src/pulse/def.h
index 100df5b5..91966b62 100644
--- a/src/pulse/def.h
+++ b/src/pulse/def.h
@@ -557,10 +557,7 @@ typedef enum pa_subscription_mask {
     PA_SUBSCRIPTION_MASK_SERVER = 0x0080U,
     /**< Other global server changes. */
 
-/** \cond fulldocs */
-    PA_SUBSCRIPTION_MASK_AUTOLOAD = 0x0100U,
-    /**< \deprecated Autoload table events. */
-/** \endcond */
+    /* 0x0100U previously assigned */
 
     PA_SUBSCRIPTION_MASK_CARD = 0x0200U,
     /**< Card events. \since 0.9.15 */
@@ -595,10 +592,7 @@ typedef enum pa_subscription_event_type {
     PA_SUBSCRIPTION_EVENT_SERVER = 0x0007U,
     /**< Event type: Global server change, only occurring with PA_SUBSCRIPTION_EVENT_CHANGE. */
 
-/** \cond fulldocs */
-    PA_SUBSCRIPTION_EVENT_AUTOLOAD = 0x0008U,
-    /**< \deprecated Event type: Autoload table changes. */
-/** \endcond */
+    /* 0x0008U previously assigned */
 
     PA_SUBSCRIPTION_EVENT_CARD = 0x0009U,
     /**< Event type: Card \since 0.9.15 */
diff --git a/src/pulse/introspect.c b/src/pulse/introspect.c
index 510d784a..310cc660 100644
--- a/src/pulse/introspect.c
+++ b/src/pulse/introspect.c
@@ -1926,63 +1926,6 @@ pa_operation* pa_context_set_port_latency_offset(pa_context *c, const char *card
     return o;
 }
 
-/*** Autoload stuff ***/
-
-PA_WARN_REFERENCE(pa_context_get_autoload_info_by_name, "Module auto-loading no longer supported.");
-
-pa_operation* pa_context_get_autoload_info_by_name(pa_context *c, const char *name, pa_autoload_type_t type, pa_autoload_info_cb_t cb, void *userdata) {
-
-    pa_assert(c);
-    pa_assert(PA_REFCNT_VALUE(c) >= 1);
-
-    PA_FAIL_RETURN_NULL(c, PA_ERR_OBSOLETE);
-}
-
-PA_WARN_REFERENCE(pa_context_get_autoload_info_by_index, "Module auto-loading no longer supported.");
-
-pa_operation* pa_context_get_autoload_info_by_index(pa_context *c, uint32_t idx, pa_autoload_info_cb_t cb, void *userdata) {
-    pa_assert(c);
-    pa_assert(PA_REFCNT_VALUE(c) >= 1);
-
-    PA_FAIL_RETURN_NULL(c, PA_ERR_OBSOLETE);
-}
-
-PA_WARN_REFERENCE(pa_context_get_autoload_info_list, "Module auto-loading no longer supported.");
-
-pa_operation* pa_context_get_autoload_info_list(pa_context *c, pa_autoload_info_cb_t cb, void *userdata) {
-    pa_assert(c);
-    pa_assert(PA_REFCNT_VALUE(c) >= 1);
-
-    PA_FAIL_RETURN_NULL(c, PA_ERR_OBSOLETE);
-}
-
-PA_WARN_REFERENCE(pa_context_add_autoload, "Module auto-loading no longer supported.");
-
-pa_operation* pa_context_add_autoload(pa_context *c, const char *name, pa_autoload_type_t type, const char *module, const char*argument, pa_context_index_cb_t cb, void* userdata) {
-    pa_assert(c);
-    pa_assert(PA_REFCNT_VALUE(c) >= 1);
-
-    PA_FAIL_RETURN_NULL(c, PA_ERR_OBSOLETE);
-}
-
-PA_WARN_REFERENCE(pa_context_remove_autoload_by_name, "Module auto-loading no longer supported.");
-
-pa_operation* pa_context_remove_autoload_by_name(pa_context *c, const char *name, pa_autoload_type_t type, pa_context_success_cb_t cb, void* userdata) {
-    pa_assert(c);
-    pa_assert(PA_REFCNT_VALUE(c) >= 1);
-
-    PA_FAIL_RETURN_NULL(c, PA_ERR_OBSOLETE);
-}
-
-PA_WARN_REFERENCE(pa_context_remove_autoload_by_index, "Module auto-loading no longer supported.");
-
-pa_operation* pa_context_remove_autoload_by_index(pa_context *c, uint32_t idx, pa_context_success_cb_t cb, void* userdata) {
-    pa_assert(c);
-    pa_assert(PA_REFCNT_VALUE(c) >= 1);
-
-    PA_FAIL_RETURN_NULL(c, PA_ERR_OBSOLETE);
-}
-
 pa_operation* pa_context_move_sink_input_by_name(pa_context *c, uint32_t idx, const char *sink_name, pa_context_success_cb_t cb, void* userdata) {
     pa_operation *o;
     pa_tagstruct *t;
diff --git a/src/pulse/introspect.h b/src/pulse/introspect.h
index 43389b73..0d00f33d 100644
--- a/src/pulse/introspect.h
+++ b/src/pulse/introspect.h
@@ -709,52 +709,6 @@ pa_operation* pa_context_get_sample_info_list(pa_context *c, pa_sample_info_cb_t
 
 /** @} */
 
-/** \cond fulldocs */
-
-/** @{ \name Autoload Entries */
-
-/** \deprecated Type of an autoload entry. */
-typedef enum pa_autoload_type {
-    PA_AUTOLOAD_SINK = 0,
-    PA_AUTOLOAD_SOURCE = 1
-} pa_autoload_type_t;
-
-/** \deprecated Stores information about autoload entries. Please note that this structure
- * can be extended as part of evolutionary API updates at any time in
- * any new release. */
-typedef struct pa_autoload_info {
-    uint32_t index;               /**< Index of this autoload entry */
-    const char *name;             /**< Name of the sink or source */
-    pa_autoload_type_t type;      /**< Type of the autoload entry */
-    const char *module;           /**< Module name to load */
-    const char *argument;         /**< Argument string for module */
-} pa_autoload_info;
-
-/** \deprecated Callback prototype for pa_context_get_autoload_info_by_name() and friends */
-typedef void (*pa_autoload_info_cb_t)(pa_context *c, const pa_autoload_info *i, int eol, void *userdata);
-
-/** \deprecated Get info about a specific autoload entry. */
-pa_operation* pa_context_get_autoload_info_by_name(pa_context *c, const char *name, pa_autoload_type_t type, pa_autoload_info_cb_t cb, void *userdata) PA_GCC_DEPRECATED;
-
-/** \deprecated Get info about a specific autoload entry. */
-pa_operation* pa_context_get_autoload_info_by_index(pa_context *c, uint32_t idx, pa_autoload_info_cb_t cb, void *userdata) PA_GCC_DEPRECATED;
-
-/** \deprecated Get the complete list of autoload entries. */
-pa_operation* pa_context_get_autoload_info_list(pa_context *c, pa_autoload_info_cb_t cb, void *userdata) PA_GCC_DEPRECATED;
-
-/** \deprecated Add a new autoload entry. */
-pa_operation* pa_context_add_autoload(pa_context *c, const char *name, pa_autoload_type_t type, const char *module, const char*argument, pa_context_index_cb_t, void* userdata) PA_GCC_DEPRECATED;
-
-/** \deprecated Remove an autoload entry. */
-pa_operation* pa_context_remove_autoload_by_name(pa_context *c, const char *name, pa_autoload_type_t type, pa_context_success_cb_t cb, void* userdata) PA_GCC_DEPRECATED;
-
-/** \deprecated Remove an autoload entry. */
-pa_operation* pa_context_remove_autoload_by_index(pa_context *c, uint32_t idx, pa_context_success_cb_t cb, void* userdata) PA_GCC_DEPRECATED;
-
-/** @} */
-
-/** \endcond */
-
 PA_C_DECL_END
 
 #endif
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to