xstrings.h revision 20d2c4d2
120d2c4d2Smrg/* $XTermId: xstrings.h,v 1.19 2009/12/06 15:50:18 tom Exp $ */
2d522f475Smrg
3d522f475Smrg/************************************************************
4d522f475Smrg
520d2c4d2SmrgCopyright 2000-2008,2009 by Thomas E. Dickey
6d522f475Smrg
7d522f475Smrg                        All Rights Reserved
8d522f475Smrg
9d522f475SmrgPermission is hereby granted, free of charge, to any person obtaining a
10d522f475Smrgcopy of this software and associated documentation files (the
11d522f475Smrg"Software"), to deal in the Software without restriction, including
12d522f475Smrgwithout limitation the rights to use, copy, modify, merge, publish,
13d522f475Smrgdistribute, sublicense, and/or sell copies of the Software, and to
14d522f475Smrgpermit persons to whom the Software is furnished to do so, subject to
15d522f475Smrgthe following conditions:
16d522f475Smrg
17d522f475SmrgThe above copyright notice and this permission notice shall be included
18d522f475Smrgin all copies or substantial portions of the Software.
19d522f475Smrg
20d522f475SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
21d522f475SmrgOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22d522f475SmrgMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23d522f475SmrgIN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
24d522f475SmrgCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
25d522f475SmrgTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
26d522f475SmrgSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27d522f475Smrg
28d522f475SmrgExcept as contained in this notice, the name(s) of the above copyright
29d522f475Smrgholders shall not be used in advertising or otherwise to promote the
30d522f475Smrgsale, use or other dealings in this Software without prior written
31d522f475Smrgauthorization.
32d522f475Smrg
33d522f475Smrg********************************************************/
34d522f475Smrg
35d522f475Smrg#ifndef included_xstrings_h
36d522f475Smrg#define included_xstrings_h 1
37d522f475Smrg
3820d2c4d2Smrg#include <X11/Intrinsic.h>
3920d2c4d2Smrg
4020d2c4d2Smrgextern String x_nonempty(String /* s */);
4120d2c4d2Smrgextern String x_skip_blanks(String /* s */);
4220d2c4d2Smrgextern String x_skip_nonblanks(String /* s */);
43d522f475Smrgextern char *x_basename(char * /* name */);
4420d2c4d2Smrgextern char *x_decode_hex(const char * /* source */, const char ** /* next */);
4520d2c4d2Smrgextern char *x_encode_hex(const char * /* source */);
46d522f475Smrgextern char *x_getenv(const char * /* name */);
47d522f475Smrgextern char *x_strdup(const char * /* s */);
4820d2c4d2Smrgextern char *x_strindex(char * /* s1 */, const char * /* s2 */);
4920d2c4d2Smrgextern char *x_strtrim(const char * /* s */);
502eaa94a1Schristosextern char x_toupper(int /* ch */);
5120d2c4d2Smrgextern int x_hex2int(int /* ch */);
52d522f475Smrgextern int x_strcasecmp(const char * /* s1 */, const char * /* s2 */);
53d522f475Smrgextern int x_strncasecmp(const char * /* s1 */, const char * /* s2 */, unsigned  /* n */);
54d522f475Smrg
55d522f475Smrg#endif /* included_xstrings_h */
56