Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Used Preformatted on code example

...



Sample Call Flows
Below are a couple call flows depicting the use of the new mode 2.

 

Sample

...

Application

...

Coding

...

...

Set

...

the

...

function

...

which

...

will

...

be

...

called

...

when

...

an

...

event

...

is

...

received

...

by

...

the

...

host

...

code:

...

LINE_SET_INCOMING_CMD_FUNC(lp,

...

t4TimerProcessEvent);

...


...

The

...

following

...

is

...

the

...

function

...

which

...

is

...

called

...

when

...

any

...

event

...

is

...

received

...

by

...

the

...

host

...

code.

...

The

...

function

...

will

...

check

...

for

...

the

...

T4

...

timer

...

event.

 void t4TimerProcessEvent(BTLINE *lp, struct args_packet *args)
{
struct args_fax args_fax;

...