X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tape-src%2Foutput-null.h;h=d3b74b0e341eb74e953329fa2f280d3579097e67;hb=94a044f90357edefa6f4ae9f0b1d5885b0e34aee;hp=d092fa2eaed517be16c75ac58058c5560288b8f1;hpb=1194fb66aa28d9929c3f2bef3cc6c1c3f40a60a4;p=debian%2Famanda diff --git a/tape-src/output-null.h b/tape-src/output-null.h index d092fa2..d3b74b0 100644 --- a/tape-src/output-null.h +++ b/tape-src/output-null.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-null.h,v 1.5 2003/03/06 21:43:57 martinea Exp $ + * $Id: output-null.h,v 1.6 2006/05/25 01:47:27 johnfranks Exp $ * * tapeio.c virtual tape interface for a null device. */ @@ -36,18 +40,18 @@ #include "amanda.h" -extern int null_tape_access P((char *, int)); -extern int null_tape_open (); -extern int null_tape_stat P((char *, struct stat *)); -extern int null_tapefd_close P((int)); -extern int null_tapefd_fsf P((int, int)); -extern ssize_t null_tapefd_read P((int, void *, size_t)); -extern int null_tapefd_rewind P((int)); -extern void null_tapefd_resetofs P((int)); -extern int null_tapefd_unload P((int)); -extern int null_tapefd_status P((int, struct am_mt_status *)); -extern int null_tapefd_weof P((int, int)); -extern ssize_t null_tapefd_write P((int, const void *, size_t)); -extern int null_tapefd_can_fork P((int)); +int null_tape_access(char *, int); +int null_tape_open(char *, int, mode_t); +int null_tape_stat(char *, struct stat *); +int null_tapefd_close(int); +int null_tapefd_fsf(int, off_t); +ssize_t null_tapefd_read(int, void *, size_t); +int null_tapefd_rewind(int); +void null_tapefd_resetofs(int); +int null_tapefd_unload(int); +int null_tapefd_status(int, struct am_mt_status *); +int null_tapefd_weof(int, off_t); +ssize_t null_tapefd_write(int, const void *, size_t); +int null_tapefd_can_fork(int); #endif /* OUTPUT_NULL_H */