summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
authorSean Bright <sean@malleable.com>2012-02-27 14:13:58 +0000
committerSean Bright <sean@malleable.com>2012-02-27 14:13:58 +0000
commit51c24c88a1c3a512164cf1b286f3de2f197f17da (patch)
tree066705b4d664a2f8232bf1cf7bb5cac9e43cc45e /include/asterisk
parenta2286c0889c59f4dab9e647860b37528f9cd6225 (diff)
Prefer ast_set_qos() over ast_netsock_set_qos()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@356882 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/netsock.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/netsock.h b/include/asterisk/netsock.h
index 494efcf39..efb1955f8 100644
--- a/include/asterisk/netsock.h
+++ b/include/asterisk/netsock.h
@@ -50,6 +50,10 @@ int ast_netsock_release(struct ast_netsock_list *list);
struct ast_netsock *ast_netsock_find(struct ast_netsock_list *list,
struct sockaddr_in *sa);
+/*!
+ * \deprecated Use ast_seq_qos in netsock2.h which propertly handles IPv4 and IPv6
+ * sockets, instead.
+ */
int ast_netsock_set_qos(int netsocket, int tos, int cos, const char *desc);
int ast_netsock_sockfd(const struct ast_netsock *ns);