beautypg.com

Dialogic DSI SPCI Network Interface Boards User Manual

Page 31

background image

Dialogic

®

DSI SPCI Network Interface Boards Programmer's Manual Issue 5

31

m->hdr.src = OUR_MOD_ID;

/*

* Call GCT_set_instance to route the message to the

* correct board and GCT_send to send the message.

* If GCT_send returns non-zero release the message.

*/

GCT_set_instance(board_id, (HDR *)m);

if (GCT_send(m->hdr.dst, (HDR *)m) != 0)

relm((HDR *)m);

}

return(0);

}