[Asterisk-cvs] asterisk/include/asterisk lock.h,1.6.2.3,1.6.2.4
markster at lists.digium.com
markster at lists.digium.com
Wed Apr 21 20:45:30 CDT 2004
- Previous message: [Asterisk-cvs] asterisk/channels chan_h323.c,1.31.2.2,1.31.2.3 chan_iax.c,1.49.2.2,1.49.2.3 chan_iax2.c,1.91.2.11,1.91.2.12 chan_mgcp.c,1.34.2.2,1.34.2.3 chan_sip.c,1.292.2.26,1.292.2.27 chan_skinny.c,1.27.2.2,1.27.2.3
- Next message: [Asterisk-cvs] asterisk logger.c,1.33,1.34
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv20221/include/asterisk
Modified Files:
Tag: v1-0_stable
lock.h
Log Message:
Backport gethostbyname_r conversion
Index: lock.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/lock.h,v
retrieving revision 1.6.2.3
retrieving revision 1.6.2.4
diff -u -d -r1.6.2.3 -r1.6.2.4
--- lock.h 1 Apr 2004 06:35:17 -0000 1.6.2.3
+++ lock.h 22 Apr 2004 00:50:11 -0000 1.6.2.4
@@ -15,6 +15,7 @@
#define _ASTERISK_LOCK_H
#include <pthread.h>
+#include <netdb.h>
#define AST_PTHREADT_NULL (pthread_t) -1
#define AST_PTHREADT_STOP (pthread_t) -2
@@ -184,5 +185,12 @@
#endif /* DEBUG_THREADS */
+#define gethostbyname __gethostbyname__is__not__reentrant__use__ast_gethostbyname__instead__
+struct ast_hostent {
+ struct hostent hp;
+ char buf[1024];
+};
+
+extern struct hostent *ast_gethostbyname(const char *host, struct ast_hostent *hp);
#endif
- Previous message: [Asterisk-cvs] asterisk/channels chan_h323.c,1.31.2.2,1.31.2.3 chan_iax.c,1.49.2.2,1.49.2.3 chan_iax2.c,1.91.2.11,1.91.2.12 chan_mgcp.c,1.34.2.2,1.34.2.3 chan_sip.c,1.292.2.26,1.292.2.27 chan_skinny.c,1.27.2.2,1.27.2.3
- Next message: [Asterisk-cvs] asterisk logger.c,1.33,1.34
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list