command.h (d91d286164db7f10f516a9d0bca0a3527e864714) command.h (30291ffb15d7e4b02d0e8de225a57dd49f655d4e)
1/*
2 * Written by Toshiharu OHNO (tony-o@iij.ad.jp)
3 *
4 * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd.
5 *
6 * Redistribution and use in source and binary forms are permitted
7 * provided that the above copyright notice and this paragraph are
8 * duplicated in all such forms and that any documentation,
9 * advertising materials, and other materials related to such
10 * distribution and use acknowledge that the software was developed
11 * by the Internet Initiative Japan. The name of the
12 * IIJ may not be used to endorse or promote products derived
13 * from this software without specific prior written permission.
14 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
15 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
16 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17 *
1/*
2 * Written by Toshiharu OHNO (tony-o@iij.ad.jp)
3 *
4 * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd.
5 *
6 * Redistribution and use in source and binary forms are permitted
7 * provided that the above copyright notice and this paragraph are
8 * duplicated in all such forms and that any documentation,
9 * advertising materials, and other materials related to such
10 * distribution and use acknowledge that the software was developed
11 * by the Internet Initiative Japan. The name of the
12 * IIJ may not be used to endorse or promote products derived
13 * from this software without specific prior written permission.
14 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
15 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
16 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17 *
18 * $Id: command.h,v 1.12.2.13 1998/05/01 19:24:18 brian Exp $
18 * $Id: command.h,v 1.13 1998/05/21 21:44:48 brian Exp $
19 *
20 * TODO:
21 */
22
23struct cmdtab;
24struct bundle;
25struct datalink;
26struct prompt;

--- 24 unchanged lines hidden (view full) ---

51#define IsAccepted(x) ((x) & NEG_ACCEPTED)
52#define IsEnabled(x) ((x) & NEG_ENABLED)
53
54extern const char Version[];
55extern const char VersionDate[];
56
57extern void command_Interpret(char *, int, int *, char ***);
58extern void command_Run(struct bundle *, int, char const *const *,
19 *
20 * TODO:
21 */
22
23struct cmdtab;
24struct bundle;
25struct datalink;
26struct prompt;

--- 24 unchanged lines hidden (view full) ---

51#define IsAccepted(x) ((x) & NEG_ACCEPTED)
52#define IsEnabled(x) ((x) & NEG_ENABLED)
53
54extern const char Version[];
55extern const char VersionDate[];
56
57extern void command_Interpret(char *, int, int *, char ***);
58extern void command_Run(struct bundle *, int, char const *const *,
59 struct prompt *, const char *);
59 struct prompt *, const char *, struct datalink *);
60extern void command_Decode(struct bundle *, char *, int, struct prompt *,
61 const char *);
62extern struct link *command_ChooseLink(struct cmdargs const *);
63extern const char *command_ShowNegval(unsigned);
60extern void command_Decode(struct bundle *, char *, int, struct prompt *,
61 const char *);
62extern struct link *command_ChooseLink(struct cmdargs const *);
63extern const char *command_ShowNegval(unsigned);