|
|
1.1 ! root 1: /* ! 2: * This is the format of a ! 3: * disc buffer as managed by the ! 4: * user level cache manager. ! 5: */ ! 6: typedef struct DISCBUF ! 7: { ! 8: struct DISCBUF *db_fp; /* Link */ ! 9: int db_refc; /* Reference count */ ! 10: long db_block; /* Block */ ! 11: int db_flag; /* Some flags */ ! 12: char db_data[BUFSIZ]; /* Data block */ ! 13: } DISCBUF; ! 14: ! 15: #define DB_DIRT 01 /* Dirty buffer */ ! 16: #define DB_OK 02 /* Valid buffer */ ! 17: ! 18: extern DISCBUF *dbread(); ! 19: extern DISCBUF *dbgrab(); ! 20: extern DISCBUF *dbzero(); ! 21: extern FILE *dbfp;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.