make app_queue 1.2 jump compliant (issue #5580)
[asterisk/asterisk.git] / netsock.c
index c669453..386f156 100755 (executable)
--- a/netsock.c
+++ b/netsock.c
@@ -17,9 +17,9 @@
  * at the top of the source tree.
  */
 
-/*
+/*! \file
  *
- * Network socket handling
+ * \brief Network socket handling
  * 
  */
 
@@ -214,3 +214,8 @@ void *ast_netsock_data(const struct ast_netsock *ns)
 {
        return ns->data;
 }
+
+void ast_netsock_unref(struct ast_netsock *ns)
+{
+       ASTOBJ_UNREF(ns, ast_netsock_destroy);
+}