X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=changer-src%2Flibscsi.h;h=e0d190de92168cf89c3c2c0f1f882c06450923ba;hb=3469241adf5f8b45020b0896ee13d17c4c7a2abf;hp=2f8dfea5460e76549ac31162d526cadee82f953b;hpb=3ab887b9bc819a846c75dd7f2ee5d41fac22b19f;p=debian%2Famanda diff --git a/changer-src/libscsi.h b/changer-src/libscsi.h index 2f8dfea..e0d190d 100644 --- a/changer-src/libscsi.h +++ b/changer-src/libscsi.h @@ -1,5 +1,5 @@ /* - * $Id: libscsi.h,v 1.4.4.4.4.1 2001/07/10 22:03:14 jrjackson Exp $ + * $Id: libscsi.h,v 1.10 2006/05/25 01:47:07 johnfranks Exp $ * * libscsi.h -- library header for routines to handle the changer * support for chio based systems @@ -19,54 +19,54 @@ /* * This function gets the actual cleaning state of the drive */ -int get_clean_state P((char *tape)); +int get_clean_state(char *tape); /* * This function gets the next empty slot from the changer * (From this slot the tape is loaded ...) */ -int GetCurrentSlot P((int fd, int drive)); +int GetCurrentSlot(int fd, int drive); /* * Eject the actual tape from the tapedrive */ -void eject_tape P((char *tape, int type)); +int eject_tape(char *tape, int type); /* * is the specified slot empty? */ -int isempty P((int fd, int slot)); +int isempty(int fd, int slot); /* * find the first empty slot */ -int find_empty P((int fd, int start, int count)); +int find_empty(int fd, int start, int count); /* * returns one if there is a tape loaded in the drive */ -int drive_loaded P((int fd, int drivenum)); +int drive_loaded(int fd, int drivenum); /* * unloads the drive, putting the tape in the specified slot */ -int unload P((int fd, int drive, int slot)); +int unload(int fd, int drive, int slot); /* * moves tape from the specified slot into the drive */ -int load P((int fd, int drive, int slot)); +int load(int fd, int drive, int slot); /* * return the number of slots in the robot */ -int get_slot_count P((int fd)); +int get_slot_count(int fd); /* * return the number of drives in the robot */ -int get_drive_count P((int fd)); +int get_drive_count(int fd); #endif /* !LIBSCSI_H */