X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tape-src%2Foutput-tape.h;h=a0f5843e1c99c9d967a42eaa693e5d2c72f09184;hb=fb2bd066c2f8b34addafe48d62550e3033a59431;hp=1aa9fee84378ba30adbd235e3c68293361de4ef7;hpb=3ab887b9bc819a846c75dd7f2ee5d41fac22b19f;p=debian%2Famanda diff --git a/tape-src/output-tape.h b/tape-src/output-tape.h index 1aa9fee..a0f5843 100644 --- a/tape-src/output-tape.h +++ b/tape-src/output-tape.h @@ -25,8 +25,12 @@ * University of Maryland at College Park */ +/* NOTE: this driver is *deprecated* and should not be used. See the Device API + * in device-src/ for the new implementation. + */ + /* - * $Id: output-tape.h,v 1.1.2.2.2.2 2003/03/06 21:44:21 martinea Exp $ + * $Id: output-tape.h,v 1.6 2006/05/25 01:47:27 johnfranks Exp $ * * tapeio.c virtual tape interface for normal tape drives. */ @@ -40,18 +44,18 @@ #include "amanda.h" #endif -extern int tape_tape_access P((char *, int)); -extern int tape_tape_open (); -extern int tape_tape_stat P((char *, struct stat *)); -extern int tape_tapefd_close P((int)); -extern int tape_tapefd_fsf P((int, int)); -extern ssize_t tape_tapefd_read P((int, void *, size_t)); -extern int tape_tapefd_rewind P((int)); -extern void tape_tapefd_resetofs P((int)); -extern int tape_tapefd_unload P((int)); -extern int tape_tapefd_status P((int, struct am_mt_status *)); -extern int tape_tapefd_weof P((int, int)); -extern ssize_t tape_tapefd_write P((int, const void *, size_t)); -extern int tape_tapefd_can_fork P((int)); +int tape_tape_access(char *, int); +int tape_tape_open(char *, int, mode_t); +int tape_tape_stat(char *, struct stat *); +int tape_tapefd_close(int); +int tape_tapefd_fsf(int, off_t); +ssize_t tape_tapefd_read(int, void *, size_t); +int tape_tapefd_rewind(int); +void tape_tapefd_resetofs(int); +int tape_tapefd_unload(int); +int tape_tapefd_status(int, struct am_mt_status *); +int tape_tapefd_weof(int, off_t); +ssize_t tape_tapefd_write(int, const void *, size_t); +int tape_tapefd_can_fork(int); #endif /* OUTPUT_TAPE_H */