string.h
上传用户:qin5330
上传日期:2007-01-05
资源大小:114k
文件大小:2k
- /*
- ** Copyright (C) 1995, 1996, 1997, 1998 Hewlett-Packard Company
- ** Originally by Kevin Hughes, kev@kevcom.com, 3/11/94
- **
- ** This program and library is free software; you can redistribute it and/or
- ** modify it under the terms of the GNU (Library) General Public License
- ** as published by the Free Software Foundation; either version 2
- ** of the License, or any later version.
- **
- ** This program is distributed in the hope that it will be useful,
- ** but WITHOUT ANY WARRANTY; without even the implied warranty of
- ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ** GNU (Library) General Public License for more details.
- **
- ** You should have received a copy of the GNU (Library) General Public License
- ** along with this program; if not, write to the Free Software
- ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
- /*
- ** use _AP() for easier cross-compiler (non-ANSI) porting
- ** <return value> <functionname> _AP( (<arg prototypes>) );
- */
- char *lstrstr _AP ((char *, char *));
- char *getword _AP ((char *, int *skiplen));
- char *getconfvalue _AP ((char *, char *, char *));
- char *parsetitle _AP ((char *filename, char *alttitle));
- char *mystrdup _AP ((char *));
- int iswordchar _AP ((char));
- int isoksuffix _AP ((char *filename, struct swline *rulelist));
- char *replace _AP ((char *, char *, char *));
- int wordcompare _AP ((char *, char *));
- char *convertentities _AP ((char *));
- char *getent _AP ((char *, int *));
- char *converttonamed _AP ((char *));
- int hasnumbered _AP ((char *));
- char *converttoascii _AP ((char *));
- int hasnonascii _AP ((char *));
- void makeItLow _AP ((char *str));
- int ourstricmp _AP((const char*, const char*));
- int matchARegex _AP ((char *str, char *pattern));
- char *matchAndChange _AP ((char *str, char *pattern, char *subs));
- char *replaceWild _AP ((char* fileName, char* pattern, char* subs));
- #ifdef _WIN32
- #define strncasecmp strnicmp
- #endif