~ubuntu-branches/ubuntu/intrepid/xterm/intrepid-security

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