[SR-Dev] git:master: Export get_sock_info_list function to modules
Jan Janak
jan at iptel.org
Tue Mar 10 21:19:42 CET 2009
Module: sip-router
Branch: master
Commit: 00c747a1b113b8af4f9e96f99dcde6b14e36eebd
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=00c747a1b113b8af4f9e96f99dcde6b14e36eebd
Author: Jan Janak <jan at iptel.org>
Committer: Jan Janak <jan at iptel.org>
Date: Tue Mar 10 17:44:42 2009 +0100
Export get_sock_info_list function to modules
---
socket_info.c | 2 +-
socket_info.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/socket_info.c b/socket_info.c
index 1b260dd..abd3064 100644
--- a/socket_info.c
+++ b/socket_info.c
@@ -301,7 +301,7 @@ static char* get_proto_name(unsigned short proto)
/* returns 0 if support for the protocol is not compiled or if proto is
invalid */
-static struct socket_info** get_sock_info_list(unsigned short proto)
+struct socket_info** get_sock_info_list(unsigned short proto)
{
switch(proto){
diff --git a/socket_info.h b/socket_info.h
index bf36ddb..627e3db 100644
--- a/socket_info.h
+++ b/socket_info.h
@@ -88,7 +88,7 @@ struct socket_info* grep_sock_info_by_port(unsigned short port,
struct socket_info* find_si(struct ip_addr* ip, unsigned short port,
unsigned short proto);
-
+struct socket_info** get_sock_info_list(unsigned short proto);
/* helper function:
* returns next protocol, if the last one is reached return 0
More information about the sr-dev
mailing list