[PATCH 7/7] Add g_at_server_register to register callback

Zhenhua Zhang zhenhua.zhang at intel.com
Wed Mar 3 17:41:54 PST 2010


Hi Denis,

On 03/04/2010 03:28 AM, Denis Kenzior wrote:
> Hi Zhenhua,
>
>> ---
>>   gatchat/gatserver.c |   47
> +++++++++++++++++++++++++++++++++++++++++++++++
>>   gatchat/gatserver.h |    6 ++++++
>>   2 files changed, 53 insertions(+), 0 deletions(-)
>>
>> +guint g_at_server_register(GAtServer *server, const char *prefix,
>> +					GAtServerCommandType type,
>> +					GAtServerNotifyFunc notify,
>> +					gpointer user_data,
>> +					GDestroyNotify destroy_notify);
>
> Return a gboolean here.  And where's my unregister function?

OK. g_at_server_unregister will be added next time. :-)

>> +
>>   #ifdef __cplusplus
>>   }
>>   #endif
>>
>
> Regards,
> -Denis
> _______________________________________________
> ofono mailing list
> ofono at ofono.org
> http://lists.ofono.org/listinfo/ofono
>



More information about the ofono mailing list