~ubuntu-branches/ubuntu/utopic/gridengine/utopic

« back to all changes in this revision

Viewing changes to source/3rdparty/qtcsh/tw.decls.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2008-06-25 22:36:13 UTC
  • Revision ID: james.westby@ubuntu.com-20080625223613-tvd9xlhuoct9kyhm
Tags: upstream-6.2~beta2
ImportĀ upstreamĀ versionĀ 6.2~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * tw.decls.h: Tenex external declarations
 
3
 */
 
4
/*-
 
5
 * Copyright (c) 1980, 1991 The Regents of the University of California.
 
6
 * All rights reserved.
 
7
 *
 
8
 * Redistribution and use in source and binary forms, with or without
 
9
 * modification, are permitted provided that the following conditions
 
10
 * are met:
 
11
 * 1. Redistributions of source code must retain the above copyright
 
12
 *    notice, this list of conditions and the following disclaimer.
 
13
 * 2. Redistributions in binary form must reproduce the above copyright
 
14
 *    notice, this list of conditions and the following disclaimer in the
 
15
 *    documentation and/or other materials provided with the distribution.
 
16
 * 3. All advertising materials mentioning features or use of this software
 
17
 *    must display the following acknowledgement:
 
18
 *      This product includes software developed by the University of
 
19
 *      California, Berkeley and its contributors.
 
20
 * 4. Neither the name of the University nor the names of its contributors
 
21
 *    may be used to endorse or promote products derived from this software
 
22
 *    without specific prior written permission.
 
23
 *
 
24
 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 
25
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 
26
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 
27
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 
28
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 
29
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 
30
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 
31
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 
32
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 
33
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 
34
 * SUCH DAMAGE.
 
35
 */
 
36
#ifndef _h_tw_decls
 
37
#define _h_tw_decls
 
38
 
 
39
/*
 
40
 * tw.help.c
 
41
 */
 
42
extern  void              do_help               __P((Char *));
 
43
 
 
44
/*
 
45
 * tw.parse.c
 
46
 */
 
47
extern   Char            *dollar                __P((Char *, const Char *));
 
48
extern   int              tenematch             __P((Char *, int, COMMAND));
 
49
extern   int              t_search              __P((Char *, Char *, COMMAND, 
 
50
                                                     int, int, int, Char *, 
 
51
                                                     int));
 
52
extern   int              starting_a_command    __P((Char *, Char *));
 
53
extern   void             copyn                 __P((Char *, Char *, int));
 
54
extern   void             catn                  __P((Char *, Char *, int));
 
55
extern   int              fcompare              __P((Char **, Char **));
 
56
extern   void             print_by_column       __P((Char *, Char *[], int, 
 
57
                                                     int));
 
58
extern   int              StrQcmp               __P((Char *, Char *));
 
59
extern   Char            *tgetenv               __P((Char *));
 
60
 
 
61
/*
 
62
 * tw.init.c
 
63
 */
 
64
extern   void             tw_alias_start        __P((DIR *, Char *));
 
65
extern   void             tw_cmd_start          __P((DIR *, Char *));
 
66
extern   void             tw_logname_start      __P((DIR *, Char *));
 
67
extern   void             tw_var_start          __P((DIR *, Char *));
 
68
extern   void             tw_complete_start     __P((DIR *, Char *));
 
69
extern   void             tw_file_start         __P((DIR *, Char *));
 
70
extern   void             tw_vl_start           __P((DIR *, Char *));
 
71
extern   void             tw_wl_start           __P((DIR *, Char *));
 
72
extern   void             tw_bind_start         __P((DIR *, Char *));
 
73
extern   void             tw_limit_start        __P((DIR *, Char *));
 
74
extern   void             tw_sig_start          __P((DIR *, Char *));
 
75
extern   void             tw_job_start          __P((DIR *, Char *));
 
76
extern   void             tw_grpname_start      __P((DIR *, Char *));
 
77
extern   Char            *tw_cmd_next           __P((Char *, int *));
 
78
extern   Char            *tw_logname_next       __P((Char *, int *));
 
79
extern   Char            *tw_shvar_next         __P((Char *, int *));
 
80
extern   Char            *tw_envvar_next        __P((Char *, int *));
 
81
extern   Char            *tw_var_next           __P((Char *, int *));
 
82
extern   Char            *tw_file_next          __P((Char *, int *));
 
83
extern   Char            *tw_wl_next            __P((Char *, int *));
 
84
extern   Char            *tw_bind_next          __P((Char *, int *));
 
85
extern   Char            *tw_limit_next         __P((Char *, int *));
 
86
extern   Char            *tw_sig_next           __P((Char *, int *));
 
87
extern   Char            *tw_job_next           __P((Char *, int *));
 
88
extern   Char            *tw_grpname_next       __P((Char *, int *));
 
89
extern   void             tw_dir_end            __P((void));
 
90
extern   void             tw_cmd_free           __P((void));
 
91
extern   void             tw_logname_end        __P((void));
 
92
extern   void             tw_grpname_end        __P((void));
 
93
extern   Char            *tw_item_add           __P((int));
 
94
extern   Char           **tw_item_get           __P((void));
 
95
extern   void             tw_item_free          __P((void));
 
96
extern   Char            *tw_item_find          __P((Char *));
 
97
 
 
98
/*
 
99
 * tw.spell.c
 
100
 */
 
101
extern   int              spell_me              __P((Char *, int, int,
 
102
                                                     Char *, int));
 
103
extern   int              spdir                 __P((Char *, Char *, Char *, 
 
104
                                                     Char *));
 
105
extern   int              spdist                __P((Char *, Char *));
 
106
 
 
107
/*
 
108
 * tw.comp.c
 
109
 */
 
110
extern   void             docomplete            __P((Char **, 
 
111
                                                     struct command *));
 
112
extern   void             douncomplete          __P((Char **, 
 
113
                                                     struct command *));
 
114
extern   int              tw_complete           __P((Char *, Char **, 
 
115
                                                     Char **, int, int *));
 
116
#ifdef COLOR_LS_F
 
117
/*
 
118
 * tw.color.c
 
119
 */
 
120
extern   void             set_color_context     __P((void));
 
121
extern   void             print_with_color      __P((Char *, size_t, int));
 
122
extern   void             parseLS_COLORS        __P((Char *));
 
123
#endif /* COLOR_LS_F */
 
124
 
 
125
#endif /* _h_tw_decls */