Move eid functions to utils.c, mark netsock.h deprecated
authorCorey Farrell <git@cfware.com>
Tue, 24 Jun 2014 02:50:15 +0000 (02:50 +0000)
committerCorey Farrell <git@cfware.com>
Tue, 24 Jun 2014 02:50:15 +0000 (02:50 +0000)
commitdb6a8a63475d74d384425b7ac065600f7273a656
tree111ef5f771719fc1db3da6a440bb9691f38e14ef
parentd5ca5b7f8fc575b4f6f89b76fa8b6144093e20b3
Move eid functions to utils.c, mark netsock.h deprecated

Move eid functions from netsock.c to utils.c.  These functions were
already published by utils.h.  Flag netsock.h as deprecated and switch
res_pjsip_session.h to use netsock2.h.  The only code that still uses
netsock.h is chan_iax2.

ASTERISK-23920 #close
Reported by: Corey Farrell
Review: https://reviewboard.asterisk.org/r/3661/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@417167 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/netsock.h
include/asterisk/res_pjsip_session.h
main/netsock.c
main/utils.c