xstrings.h revision d522f475
1d522f475Smrg/* $XTermId: xstrings.h,v 1.12 2007/06/09 13:35:28 tom Exp $ */ 2d522f475Smrg 3d522f475Smrg/* $XFree86: xc/programs/xterm/xstrings.h,v 1.5 2006/02/13 01:14:59 dickey Exp $ */ 4d522f475Smrg 5d522f475Smrg/************************************************************ 6d522f475Smrg 7d522f475SmrgCopyright 2000-2006,2007 by Thomas E. Dickey 8d522f475Smrg 9d522f475Smrg All Rights Reserved 10d522f475Smrg 11d522f475SmrgPermission is hereby granted, free of charge, to any person obtaining a 12d522f475Smrgcopy of this software and associated documentation files (the 13d522f475Smrg"Software"), to deal in the Software without restriction, including 14d522f475Smrgwithout limitation the rights to use, copy, modify, merge, publish, 15d522f475Smrgdistribute, sublicense, and/or sell copies of the Software, and to 16d522f475Smrgpermit persons to whom the Software is furnished to do so, subject to 17d522f475Smrgthe following conditions: 18d522f475Smrg 19d522f475SmrgThe above copyright notice and this permission notice shall be included 20d522f475Smrgin all copies or substantial portions of the Software. 21d522f475Smrg 22d522f475SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 23d522f475SmrgOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 24d522f475SmrgMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 25d522f475SmrgIN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY 26d522f475SmrgCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 27d522f475SmrgTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 28d522f475SmrgSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 29d522f475Smrg 30d522f475SmrgExcept as contained in this notice, the name(s) of the above copyright 31d522f475Smrgholders shall not be used in advertising or otherwise to promote the 32d522f475Smrgsale, use or other dealings in this Software without prior written 33d522f475Smrgauthorization. 34d522f475Smrg 35d522f475Smrg********************************************************/ 36d522f475Smrg 37d522f475Smrg#ifndef included_xstrings_h 38d522f475Smrg#define included_xstrings_h 1 39d522f475Smrg 40d522f475Smrgextern char *x_basename(char * /* name */); 41d522f475Smrgextern char *x_getenv(const char * /* name */); 42d522f475Smrgextern char *x_nonempty(char * /* s */); 43d522f475Smrgextern char *x_skip_blanks(char * /* s */); 44d522f475Smrgextern char *x_skip_nonblanks(char * /* s */); 45d522f475Smrgextern char *x_strdup(const char * /* s */); 46d522f475Smrgextern char *x_strindex(char * /* s1 */, char * /* s2 */); 47d522f475Smrgextern char *x_strtrim(char * /* s */); 48d522f475Smrgextern int x_strcasecmp(const char * /* s1 */, const char * /* s2 */); 49d522f475Smrgextern int x_strncasecmp(const char * /* s1 */, const char * /* s2 */, unsigned /* n */); 50d522f475Smrg 51d522f475Smrg#endif /* included_xstrings_h */ 52