gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Quirk with on_sms callback


From: Jeremy Lainé
Subject: Quirk with on_sms callback
Date: Thu, 04 Jan 2007 15:07:05 +0100
User-agent: Internet Messaging Program (IMP) H3 (4.1.3)

I noticed that unlike the call_notification callback (set by GN_OP_SetCallNotification), the prototype for the on_sms callback (set by GN_OP_OnSMS) does not have a pointer to the gn_statemachine that generated the event.

This is problematic because it means that when the callback is triggered, you have no way of identifying what gn_statemachine triggered it. What are your thoughts on changing this? I am attaching a patch to illustrate a possible change to the on_sms callback.

Cheers,
Jeremy

--
http://www.jerryweb.org/             : JerryWeb.org
http://sailcut.sourceforge.net/      : Sailcut CAD
http://opensource.polytechnique.org/ : Polytechnique.org Free Software

Attachment: 02_on_sms.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]