[Asterisk-cvs] asterisk/include/asterisk utils.h,1.4,1.5

markster at lists.digium.com markster at lists.digium.com
Tue Jun 29 09:10:55 CDT 2004


Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv16770/include/asterisk

Modified Files:
	utils.h 
Log Message:
Create reentrant ast_inet_ntoa and replace all inet_ntoa's with ast_inet_ntoa's (but #1944)


Index: utils.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/utils.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- utils.h	25 Jun 2004 03:59:07 -0000	1.4
+++ utils.h	29 Jun 2004 12:56:46 -0000	1.5
@@ -29,6 +29,9 @@
 extern int ast_base64decode(unsigned char *dst, char *src, int max);
 
 extern int test_for_thread_safety(void);
+extern const char *ast_inet_ntoa(char *buf, int bufsiz, struct in_addr ia);
 extern int ast_utils_init(void);
 
+#define inet_ntoa __dont__use__inet_ntoa__use__ast_inet_ntoa__instead__
+
 #endif




More information about the svn-commits mailing list