mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
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
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
|
||||
/*! \file
|
||||
* \brief Network socket handling
|
||||
*
|
||||
* \deprecated Use netsock2.h instead
|
||||
*/
|
||||
|
||||
#ifndef _ASTERISK_NETSOCK_H
|
||||
|
@@ -25,7 +25,7 @@
|
||||
/* Needed for AST_MAX_EXTENSION constant */
|
||||
#include "asterisk/channel.h"
|
||||
/* Needed for ast_sockaddr struct */
|
||||
#include "asterisk/netsock.h"
|
||||
#include "asterisk/netsock2.h"
|
||||
/* Needed for ast_sdp_srtp struct */
|
||||
#include "asterisk/sdp_srtp.h"
|
||||
|
||||
|
Reference in New Issue
Block a user