annotate 3rdparty/packages/uucpbb/src/proto.h @ 3226:9749d0dfc4a2

Changed a puls PC to rts to save cycles
author David Ladd <drencor-xeen@users.sourceforge.net>
date Sat, 20 Jan 2018 19:32:22 -0600
parents 5ba8e711a1a3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1772
5ba8e711a1a3 source added
boisy
parents:
diff changeset
1 /* proto.h Function declarations used by UUCPbb package.
5ba8e711a1a3 source added
boisy
parents:
diff changeset
2 Copyright (C) 1990, 1993 Rick Adams and Bob Billson
5ba8e711a1a3 source added
boisy
parents:
diff changeset
3
5ba8e711a1a3 source added
boisy
parents:
diff changeset
4 This file is part of the OS-9 UUCP package, UUCPbb.
5ba8e711a1a3 source added
boisy
parents:
diff changeset
5
5ba8e711a1a3 source added
boisy
parents:
diff changeset
6 This program is free software; you can redistribute it and/or modify
5ba8e711a1a3 source added
boisy
parents:
diff changeset
7 it under the terms of the GNU General Public License as published by
5ba8e711a1a3 source added
boisy
parents:
diff changeset
8 the Free Software Foundation; either version 2 of the License, or
5ba8e711a1a3 source added
boisy
parents:
diff changeset
9 (at your option) any later version.
5ba8e711a1a3 source added
boisy
parents:
diff changeset
10
5ba8e711a1a3 source added
boisy
parents:
diff changeset
11 This program is distributed in the hope that it will be useful,
5ba8e711a1a3 source added
boisy
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
5ba8e711a1a3 source added
boisy
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5ba8e711a1a3 source added
boisy
parents:
diff changeset
14 GNU General Public License for more details.
5ba8e711a1a3 source added
boisy
parents:
diff changeset
15
5ba8e711a1a3 source added
boisy
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
5ba8e711a1a3 source added
boisy
parents:
diff changeset
17 along with this program; if not, write to the Free Software
5ba8e711a1a3 source added
boisy
parents:
diff changeset
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
5ba8e711a1a3 source added
boisy
parents:
diff changeset
19
5ba8e711a1a3 source added
boisy
parents:
diff changeset
20 The author of UUCPbb, Bob Billson, can be contacted at:
5ba8e711a1a3 source added
boisy
parents:
diff changeset
21 bob@kc2wz.bubble.org or uunet!kc2wz!bob or by snail mail:
5ba8e711a1a3 source added
boisy
parents:
diff changeset
22 21 Bates Way, Westfield, NJ 07090
5ba8e711a1a3 source added
boisy
parents:
diff changeset
23 */
5ba8e711a1a3 source added
boisy
parents:
diff changeset
24
5ba8e711a1a3 source added
boisy
parents:
diff changeset
25 /* Various declarations used by UUCPbb package. This should help to keep the
5ba8e711a1a3 source added
boisy
parents:
diff changeset
26 the various OS-9 compilers happy. */
5ba8e711a1a3 source added
boisy
parents:
diff changeset
27
5ba8e711a1a3 source added
boisy
parents:
diff changeset
28 extern int errno;
5ba8e711a1a3 source added
boisy
parents:
diff changeset
29
5ba8e711a1a3 source added
boisy
parents:
diff changeset
30 /***************************\
5ba8e711a1a3 source added
boisy
parents:
diff changeset
31 * CoCo specific defs/macros *
5ba8e711a1a3 source added
boisy
parents:
diff changeset
32 \***************************/
5ba8e711a1a3 source added
boisy
parents:
diff changeset
33
5ba8e711a1a3 source added
boisy
parents:
diff changeset
34 #ifndef _OSK
5ba8e711a1a3 source added
boisy
parents:
diff changeset
35 # ifndef _VOID_
5ba8e711a1a3 source added
boisy
parents:
diff changeset
36 # define _VOID_
5ba8e711a1a3 source added
boisy
parents:
diff changeset
37 typedef int void;
5ba8e711a1a3 source added
boisy
parents:
diff changeset
38 # endif
5ba8e711a1a3 source added
boisy
parents:
diff changeset
39 #define QQ direct /* CoCo type 'direct' [page] */
5ba8e711a1a3 source added
boisy
parents:
diff changeset
40 typedef int flag;
5ba8e711a1a3 source added
boisy
parents:
diff changeset
41 char *parse_cmd();
5ba8e711a1a3 source added
boisy
parents:
diff changeset
42 #endif
5ba8e711a1a3 source added
boisy
parents:
diff changeset
43
5ba8e711a1a3 source added
boisy
parents:
diff changeset
44
5ba8e711a1a3 source added
boisy
parents:
diff changeset
45 /**************************\
5ba8e711a1a3 source added
boisy
parents:
diff changeset
46 * OSK specific defs/macros *
5ba8e711a1a3 source added
boisy
parents:
diff changeset
47 \**************************/
5ba8e711a1a3 source added
boisy
parents:
diff changeset
48
5ba8e711a1a3 source added
boisy
parents:
diff changeset
49 #ifdef _OSK
5ba8e711a1a3 source added
boisy
parents:
diff changeset
50 #define QQ /* OSK doesn't have direct page type */
5ba8e711a1a3 source added
boisy
parents:
diff changeset
51 typedef char flag;
5ba8e711a1a3 source added
boisy
parents:
diff changeset
52 #endif
5ba8e711a1a3 source added
boisy
parents:
diff changeset
53
5ba8e711a1a3 source added
boisy
parents:
diff changeset
54
5ba8e711a1a3 source added
boisy
parents:
diff changeset
55 /******************************\
5ba8e711a1a3 source added
boisy
parents:
diff changeset
56 * OS-9000 specific defs/macros *
5ba8e711a1a3 source added
boisy
parents:
diff changeset
57 \******************************/
5ba8e711a1a3 source added
boisy
parents:
diff changeset
58
5ba8e711a1a3 source added
boisy
parents:
diff changeset
59 #ifdef _OS9K
5ba8e711a1a3 source added
boisy
parents:
diff changeset
60 #define QQ /* OS-9000 doesn't have direct page type */
5ba8e711a1a3 source added
boisy
parents:
diff changeset
61 typedef char flag;
5ba8e711a1a3 source added
boisy
parents:
diff changeset
62 #endif
5ba8e711a1a3 source added
boisy
parents:
diff changeset
63
5ba8e711a1a3 source added
boisy
parents:
diff changeset
64
5ba8e711a1a3 source added
boisy
parents:
diff changeset
65 /*============ miscellaneous declarations--applies to everyone ============*/
5ba8e711a1a3 source added
boisy
parents:
diff changeset
66
5ba8e711a1a3 source added
boisy
parents:
diff changeset
67 #ifdef _OSK
5ba8e711a1a3 source added
boisy
parents:
diff changeset
68 extern char **_environ; /* Ultra C style */
5ba8e711a1a3 source added
boisy
parents:
diff changeset
69 extern char **environ; /* 3.2 C style */
5ba8e711a1a3 source added
boisy
parents:
diff changeset
70
5ba8e711a1a3 source added
boisy
parents:
diff changeset
71 /* OSK prototypes */
5ba8e711a1a3 source added
boisy
parents:
diff changeset
72 char *strend();
5ba8e711a1a3 source added
boisy
parents:
diff changeset
73 extern int os9exec();
5ba8e711a1a3 source added
boisy
parents:
diff changeset
74 extern int os9fork();
5ba8e711a1a3 source added
boisy
parents:
diff changeset
75 int parse_cmd();
5ba8e711a1a3 source added
boisy
parents:
diff changeset
76
5ba8e711a1a3 source added
boisy
parents:
diff changeset
77 #else
5ba8e711a1a3 source added
boisy
parents:
diff changeset
78 /* CoCo prototypes */
5ba8e711a1a3 source added
boisy
parents:
diff changeset
79 char *parse_cmd();
5ba8e711a1a3 source added
boisy
parents:
diff changeset
80 #endif
5ba8e711a1a3 source added
boisy
parents:
diff changeset
81
5ba8e711a1a3 source added
boisy
parents:
diff changeset
82 /* external variables used by getopt() */
5ba8e711a1a3 source added
boisy
parents:
diff changeset
83 extern char *optarg;
5ba8e711a1a3 source added
boisy
parents:
diff changeset
84 extern int optind, opterr;
5ba8e711a1a3 source added
boisy
parents:
diff changeset
85
5ba8e711a1a3 source added
boisy
parents:
diff changeset
86 /* various functions */
5ba8e711a1a3 source added
boisy
parents:
diff changeset
87 char *date822(); /* returns string with date in RFC-822 format */
5ba8e711a1a3 source added
boisy
parents:
diff changeset
88 char *gtime(); /* returns string in form '(May 05-01:56:00)' */
5ba8e711a1a3 source added
boisy
parents:
diff changeset
89 char *skipspace(); /* added to parse.c */
5ba8e711a1a3 source added
boisy
parents:
diff changeset
90 char *getdirs(), *mfgets(), *getenv();
5ba8e711a1a3 source added
boisy
parents:
diff changeset
91 char *getstring(), *getval(), *getrealname(), *genseq();
5ba8e711a1a3 source added
boisy
parents:
diff changeset
92 char *strdetab(), *strlwr(), *strupr(), *strdup(), *strstr(), *strend();
5ba8e711a1a3 source added
boisy
parents:
diff changeset
93 char *InttouID();
5ba8e711a1a3 source added
boisy
parents:
diff changeset
94 int strucmp();
5ba8e711a1a3 source added
boisy
parents:
diff changeset
95 FILE *popen(), *fdopen(), *freopen();
5ba8e711a1a3 source added
boisy
parents:
diff changeset
96 long getseq();
5ba8e711a1a3 source added
boisy
parents:
diff changeset
97 void errorexit();