' "SUBTITLE Data base definitions" > > > " " "SUBTITLE In-core representation of data base" CHANNEL FIX FIX FIX FIX FIX>> "Bits for corblk--used in DB-BITS field" "Length of file" > " " "SUBTITLE What DEFER-FIND returns" STRING STRING [2 ] [REST FIX]>> " " "SUBTITLE Data base primitives" "Primitive operations on data base: open, close, access, reset, print, etc." "All known data bases are kept on list DATA-BASES, as pairs: string, data base." "Print a data base" DB-PRINT #DECL ("VALUE" CHARACTER DATA-BASE) OUTCHAN "#DATA-BASE [" "->" "<-" " \"" "--HASH--" "--FREE--" "READB" NM2 % (STRING) % % ![!] "PRINTB" "PRINTO" % DATA-BASE-IN-BAD-FORMAT DB-RESET % T NO-BUFFER-AVAILABLE]>> .GLUE > "Put data base with specified name on list if not already there, open it, map in hash table, etc." STRING "OPTIONAL" ANY )] 212>> "Re-initialize existing data base" DATA-BASE)] 331>> "Close data base: close channel, flush buffer" > "Cause hash table to be mapped (by accessing to 0)" DATA-BASE)] 426>> " " "SUBTITLE Extract data from data base" "GET-NAME returns a string pointer to the name field of the supplied entry." > "GET-FILE returns a string pointer to the file name for a package" > "GET-PACKAGE returns the address in the file of the package entry for this function" > " " "SUBTITLE Library search routines" "PACKAGE-FIND looks up a package in the specified data base." STRING "OPTIONAL" ) ] 533>> > STRING)] 665>> "DEFER-FIND returns false (if the package doesn't exist) or a list of all the entries in the package, with the file name." STRING STRING [2 ] [REST FIX]>> STRING "OPTIONAL" )] 858>> " " "SUBTITLE Data base primitive crufties" DATA-BASE FIX)] 1082>> " " "SUBTITLE Library crufties" UVECTOR STRING)] 1163>> > " " "SUBTITLE Hashing function" "HASH-NAME takes a string, a uvector (the hash table, which includes the db header), and a fix, which is the offset in the uv of the hash table length. It returns a fix." > " " "SUBTITLE Creation date" >