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.
This commit is contained in:
@@ -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
|
||||
|
||||
+1
-9
@@ -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,
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user