avoid private stdio fields in waitkey
[openafs.git] / src / butc / butc_internal.h
1 /* Copyright 2000, International Business Machines Corporation and others.
2  * All Rights Reserved.
3  *
4  * This software has been released under the terms of the IBM Public
5  * License.  For details, see the LICENSE file in the top-level source
6  * directory or online at http://www.openafs.org/dl/license10.html
7  */
8
9 #ifndef _BUTC_INTERNAL_H
10 #define _BUTC_INTERNAL_H
11
12 /* dbentries.c */
13 extern afs_int32 useTape(struct budb_tapeEntry *, afs_int32, char *,
14                          afs_int32, afs_int32, Date, Date, afs_int32);
15 extern afs_int32 addVolume(struct budb_volumeEntry *, afs_int32, char *,
16                            char *, afs_int32, Date, afs_int32, afs_int32,
17                            int, afs_int32);
18 extern afs_int32 finishTape(struct budb_tapeEntry *, afs_int32);
19 extern afs_int32 flushSavedEntries(afs_int32);
20 extern void waitDbWatcher(void);
21 extern afs_int32 finishDump(struct budb_dumpEntry *);
22 extern afs_int32 threadEntryDir(void *, afs_int32, afs_int32);
23
24 /* list.c */
25 extern afs_int32 allocTaskId(void);
26
27 /* lwps.h */
28 extern int ReadLabel(struct tc_tapeLabel *);
29 extern void unmountTape(afs_int32, struct butm_tapeInfo *);
30 extern int tapeExpired(struct butm_tapeLabel *);
31 extern afs_int32 PromptForTape(int, char *, afs_uint32, afs_uint32, int);
32 extern void GetNewLabel(struct butm_tapeInfo *, char *, char *,
33                         struct butm_tapeLabel *);
34 extern void FFlushInput(void);
35 extern afs_int32 ReadVolHeader(afs_int32, struct butm_tapeInfo *,
36                                struct volumeHeader *);
37 extern int FindVolTrailer(char *, afs_int32, afs_int32 *,
38                           struct volumeHeader *);
39 extern int FindVolTrailer2(char *, afs_int32, afs_int32 *, char *, afs_int32,
40                            afs_int32 *, struct volumeHeader *);
41
42 /* recoverDb.c */
43 extern afs_int32 Ask(char *);
44 extern int extractTapeSeq(char *);
45 extern int databaseTape(char *);
46
47 /* tcprocs.c */
48
49 extern int callPermitted(struct rx_call *);
50
51 /* tcstatus.c */
52 extern int checkAbortByTaskId(afs_uint32);
53
54 #endif
55