|
|
1.1 ! root 1: #define SIDEA 0 ! 2: #define SIDEB 1 ! 3: ! 4: typedef struct { ! 5: int nshelves; ! 6: int nluns; /* address range of luns */ ! 7: int ndrives; /* physical drives */ ! 8: int nworms; /* number of drives visible in namespace */ ! 9: struct lun { ! 10: char occupied; ! 11: char spunup; ! 12: int shelf; ! 13: int side; ! 14: char *desc; ! 15: } *luns; ! 16: char *shelves; /* set or not depending if a disk is there */ ! 17: char **names; ! 18: } Jukebox; ! 19: extern j_config(Jukebox *, char *); ! 20: extern j_drstatus(Jukebox *, char *); ! 21: extern j_shstatus(Jukebox *, char *); ! 22: ! 23: /* general */ ! 24: extern j_eject(int, char *); ! 25: extern j_sh_to_dr(int, int, int, char *); ! 26: extern j_dr_to_sh(int, int, int, char *); ! 27: extern j_start(int, char *); ! 28: extern j_stop(int, char *); ! 29: extern j_read(int, unsigned long, char *, int, char *); ! 30: extern j_write(int, unsigned long, char *, int, char *); ! 31: extern j_capacity(int, unsigned long *, unsigned long *); ! 32: extern j_load_unloaded(int, char *); ! 33: extern void j_reset(void);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.