[Top][All Lists]
[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
02_on_sms.diff
Description: Text Data
- Quirk with on_sms callback,
Jeremy Lainé <=
- Re: Quirk with on_sms callback, Pawel Kot, 2007/01/06
- Re: Quirk with on_sms callback, Jeremy Lainé, 2007/01/09
- Re: Quirk with on_sms callback, Pawel Kot, 2007/01/09
- Re: Quirk with on_sms callback, Jeremy Lainé, 2007/01/10
- Re: Quirk with on_sms callback, Pawel Kot, 2007/01/10
- Re: Quirk with on_sms callback, Jeremy Lainé, 2007/01/10
- Re: Quirk with on_sms callback, Pawel Kot, 2007/01/10