[asterisk-dev] Small libss7 cleanup patch

Vincent Thomasset vincent.thomasset at skynet.be
Mon Jul 7 04:38:13 CDT 2008


Hi,

Here's a small patch adding 2 functions:

    struct mtp2 *ss7_find_link(struct ss7 *ss7, int fd);
    int ss7_find_link_index(struct ss7 *ss7, int fd);

to get rid of some temporary variables as well as cleanup
the lookup loops.

The patch also moves a few pointer checks from some
isup_* funcs to their send_message friend when possible.

Cheers,
Vincent
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ss7_find_link.diff
Type: text/x-patch
Size: 9304 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20080707/f786e2b4/attachment.bin 


More information about the asterisk-dev mailing list