CVS update: php3/functions

From: Date: Fri, 22 Jan 1999 21:24:43 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-3690@lists.php.net to get a copy of this message
Date: Friday January 22, 1999 @ 16:24 Author: rasmus Update of /repository/php3/functions In directory asf:/u/temp/cvs-serv26252/functions Modified Files: basic_functions.c php3_string.h Log Message: Some more in_addr cleanups Index: php3/functions/basic_functions.c diff -c php3/functions/basic_functions.c:1.250 php3/functions/basic_functions.c:1.251 *** php3/functions/basic_functions.c:1.250 Wed Jan 6 08:28:45 1999 --- php3/functions/basic_functions.c Fri Jan 22 16:24:42 1999 *************** *** 28,34 **** +----------------------------------------------------------------------+ */ ! /* $Id: basic_functions.c,v 1.250 1999/01/06 13:28:45 thies Exp $ */ #ifdef THREAD_SAFE #include "tls.h" #endif --- 28,34 ---- +----------------------------------------------------------------------+ */ ! /* $Id: basic_functions.c,v 1.251 1999/01/22 21:24:42 rasmus Exp $ */ #ifdef THREAD_SAFE #include "tls.h" #endif *************** *** 51,56 **** --- 51,63 ---- #include <string.h> #else #include <strings.h> + #endif + #if MSVC5 + #include <winsock.h> + #else + #include <netinet/in.h> + #include <netdb.h> + #include <arpa/inet.h> #endif #include "safe_mode.h" #include "functions/basic_functions.h" Index: php3/functions/php3_string.h diff -c php3/functions/php3_string.h:1.31 php3/functions/php3_string.h:1.32 *** php3/functions/php3_string.h:1.31 Wed Jan 6 02:17:27 1999 --- php3/functions/php3_string.h Fri Jan 22 16:24:43 1999 *************** *** 29,35 **** */ ! /* $Id: php3_string.h,v 1.31 1999/01/06 07:17:27 fmk Exp $ */ #ifndef _PHPSTRING_H #define _PHPSTRING_H --- 29,35 ---- */ ! /* $Id: php3_string.h,v 1.32 1999/01/22 21:24:43 rasmus Exp $ */ #ifndef _PHPSTRING_H #define _PHPSTRING_H *************** *** 96,103 **** --- 96,105 ---- extern PHPAPI void _php3_dirname(char *str, int len); extern PHPAPI char *php3i_stristr(unsigned char *s, unsigned char *t); + #if 0 extern PHPAPI char *_php3_str_to_str(char *haystack, int length, char *needle, int needle_len, char *str, int str_len, int *_new_length); + #endif extern PHPAPI void _php3_char_to_str(char *str,uint len,char from,char *to,int to_len,pval *result); #endif /* _PHPSTRING_H */ -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#3690) next »