diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-10-26 22:43:53 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2019-10-27 16:56:29 +0100 |
commit | b325270296f89f9bca1c054b4661906984f6b19a (patch) | |
tree | 7d2c3ea4382329541475c0b22470568852523e01 | |
parent | d09aa38552606e175fcda92a12efec5b9d8f5bc8 (diff) |
libmm-glib,pco: mm_pco_list_add() is not part of the API
This method is used by the daemon to modify the GList of MMPco
objects, the client should not need to use this method for anything.
-rw-r--r-- | docs/reference/libmm-glib/libmm-glib-sections.txt | 2 | ||||
-rw-r--r-- | libmm-glib/mm-pco.c | 10 | ||||
-rw-r--r-- | libmm-glib/mm-pco.h | 4 |
3 files changed, 4 insertions, 12 deletions
diff --git a/docs/reference/libmm-glib/libmm-glib-sections.txt b/docs/reference/libmm-glib/libmm-glib-sections.txt index be2b0102..f70ad455 100644 --- a/docs/reference/libmm-glib/libmm-glib-sections.txt +++ b/docs/reference/libmm-glib/libmm-glib-sections.txt @@ -1417,7 +1417,6 @@ mm_pco_get_session_id mm_pco_is_complete mm_pco_get_data <SUBSECTION List> -mm_pco_list_add mm_pco_list_free <SUBSECTION Private> mm_pco_new @@ -1426,6 +1425,7 @@ mm_pco_to_variant mm_pco_set_session_id mm_pco_set_complete mm_pco_set_data +mm_pco_list_add <SUBSECTION Standard> MMPcoClass MMPcoPrivate diff --git a/libmm-glib/mm-pco.c b/libmm-glib/mm-pco.c index 4804541e..632f947b 100644 --- a/libmm-glib/mm-pco.c +++ b/libmm-glib/mm-pco.c @@ -255,15 +255,7 @@ mm_pco_list_free (GList *pco_list) } /** - * mm_pco_list_add: - * @pco_list: (transfer full)(element-type ModemManager.Pco): a #GList of #MMPco. - * @pco: (transfer none): a #MMPco to add to the given list. - * - * Adds a #MMPco to a given PCO list. #MMPco objects stored in the order of - * their session ID. An existing PCO with the same session ID is overwritten - * with the new value. - * - * Returns: (transfer full)(element-type ModemManager.Pco): the new start of an updated or newly allocated #GList of #MMPco. + * mm_pco_list_add: (skip) */ GList * mm_pco_list_add (GList *pco_list, diff --git a/libmm-glib/mm-pco.h b/libmm-glib/mm-pco.h index 08f4694d..95b9ec16 100644 --- a/libmm-glib/mm-pco.h +++ b/libmm-glib/mm-pco.h @@ -65,8 +65,6 @@ const guint8 *mm_pco_get_data (MMPco *self, gsize *data_size); void mm_pco_list_free (GList *pco_list); -GList *mm_pco_list_add (GList *pco_list, - MMPco *pco); /*****************************************************************************/ /* ModemManager/libmm-glib/mmcli specific methods */ @@ -87,6 +85,8 @@ void mm_pco_set_data (MMPco *self, const guint8 *data, gsize data_size); +GList *mm_pco_list_add (GList *pco_list, + MMPco *pco); #endif G_END_DECLS |