The various routines are called PHONET_(whatever).
$Log$
- Revision 1.1.1.1 2001/11/25 21:59:09 short
- :pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Sun Nov 25 22:56 CET 2001
+ Revision 1.1.1.2 2002/04/03 00:08:07 short
+ Found in "gnokii-working" directory, some November-patches version
Revision 1.8 2001/08/20 23:27:37 pkot
Add hardware shakehand to the link layer (Manfred Jonsson)
/* Some globals */
-GSM_Link *glink;
-GSM_Statemachine *statemachine;
-PHONET_IncomingMessage imessage;
+static GSM_Link *glink;
+static GSM_Statemachine *PHONET_statemachine;
+static PHONET_IncomingMessage imessage;
/*--------------------------------------------*/
/* Is that it? */
if (i->BufferCount == i->MessageLength) {
- SM_IncomingFunction(statemachine, i->MessageType, i->MessageBuffer, i->MessageLength);
+ SM_IncomingFunction(PHONET_statemachine, i->MessageType, i->MessageBuffer, i->MessageLength);
i->state = FBUS_RX_Sync;
}
break;
/* 'Copy in' the global structures */
glink = newlink;
- statemachine = state;
+ PHONET_statemachine = state;
/* Fill in the link functions */
glink->Loop = &PHONET_Loop;