mirror of git://git.sysmocom.de/ofono
gatchat: Remove g_at_chat_set_syntax
Never used and too unsafe in its current form
This commit is contained in:
parent
5fc7c1e1d0
commit
f09ce13ad7
|
@ -1037,18 +1037,6 @@ gboolean g_at_chat_shutdown(GAtChat *chat)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
gboolean g_at_chat_set_syntax(GAtChat *chat, GAtSyntax *syntax)
|
||||
{
|
||||
if (chat == NULL)
|
||||
return FALSE;
|
||||
|
||||
g_at_syntax_unref(chat->syntax);
|
||||
|
||||
chat->syntax = g_at_syntax_ref(syntax);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
gboolean g_at_chat_set_disconnect_function(GAtChat *chat,
|
||||
GAtDisconnectFunc disconnect, gpointer user_data)
|
||||
{
|
||||
|
|
|
@ -48,8 +48,6 @@ void g_at_chat_unref(GAtChat *chat);
|
|||
|
||||
gboolean g_at_chat_shutdown(GAtChat *chat);
|
||||
|
||||
gboolean g_at_chat_set_syntax(GAtChat *chat, GAtSyntax *syntax);
|
||||
|
||||
gboolean g_at_chat_set_disconnect_function(GAtChat *chat,
|
||||
GAtDisconnectFunc disconnect, gpointer user_data);
|
||||
|
||||
|
|
Loading…
Reference in New Issue