コード例 #1
0
ファイル: sms.c プロジェクト: AndriusA/ofono
gboolean __ofono_sms_datagram_watch_remove(struct ofono_sms *sms,
					unsigned int id)
{
	if (sms == NULL)
		return FALSE;

	DBG("%p", sms);

	return __ofono_watchlist_remove_item(sms->datagram_handlers, id);
}
コード例 #2
0
ファイル: modem.c プロジェクト: alfonsosanchezbeato/ofono
void __ofono_modem_remove_powered_watch(struct ofono_modem *modem,
					unsigned int id)
{
	__ofono_watchlist_remove_item(modem->powered_watches, id);
}
コード例 #3
0
ファイル: modem.c プロジェクト: alfonsosanchezbeato/ofono
gboolean __ofono_modem_remove_atom_watch(struct ofono_modem *modem,
						unsigned int id)
{
	return __ofono_watchlist_remove_item(modem->atom_watches, id);
}
コード例 #4
0
ファイル: modem.c プロジェクト: alfonsosanchezbeato/ofono
void __ofono_modem_remove_online_watch(struct ofono_modem *modem,
					unsigned int id)
{
	__ofono_watchlist_remove_item(modem->online_watches, id);
}
コード例 #5
0
ファイル: modem.c プロジェクト: alfonsosanchezbeato/ofono
gboolean __ofono_modemwatch_remove(unsigned int id)
{
	return __ofono_watchlist_remove_item(g_modemwatches, id);
}