|
gzf
gzip File
Module DescriptionThe gzf module implements the base definitions for using a gzip file. It is used by the zif and, in a future version, zof module. Module WordsOperating Systems constantsgzf.fat ( -- n ) FAT OSgzf.amiga ( -- n ) Amiga OSgzf.vms ( -- n ) VMS OSgzf.unix ( -- n ) UNIX OSgzf.vm/cms ( -- n ) VM-CMS OSgzf.atari ( -- n ) ATARI OSgzf.hpfs ( -- n ) HPFS OSgzf.macintos ( -- n ) MACINTOS OSgzf.z-system ( -- n ) Z-SYSTEM OSgzf.cp/m ( -- n ) CP-M OSgzf.tops-20 ( -- n ) TOPS-20 OSgzf.ntfs ( -- n ) NTFS OSgzf.qdos ( -- n ) QDOS OSgzf.acorn ( -- n ) ACORN OSgzf.unknown ( -- n ) other Compression modes constantsgzf.deflate ( -- n ) Deflate Compression mode gzf structuregzf% ( -- n ) Get the required space for a gzf variable gzip file variable creation, initialisation and destructiongzf-init ( gzf -- ) Initialise the gzip file variablegzf-(free) ( gzf -- ) Free the internal, private variables from the heapgzf-create ( "<spaces>name" -- ; -- gzf ) Create a named gzip file variable in the dictionarygzf-new ( -- gzf ) Create a new gzip file variable on the heapgzf-free ( gzf -- ) Free the variable from the heap Member wordsgzf-text@ ( gzf -- flag ) Get if the source of the current file in the gzip file is textgzf-text! ( flag gzf -- ) Set if the source for the next file in the gzip file is textgzf-flags@ ( gzf -- u ) Get the flags from the gzip file headergzf-flags! ( u gzf -- ) Set the flags for the gzip file headergzf-os@ ( gzf -- n ) Get the operting system of the current file in the gzip filegzf-os! ( n gzf -- ) Set the operating system for the next file in the gzip filegzf-mtime@ ( gzf -- u ) Get the modification time of the current file in the gzip file in seconds since unix epochgzf-mtime! ( u gzf -- ) Set the modification time for the next file in the gzip file in seconds since unix epochgzf-name@ ( gzf -- c-addr u ) Get the name of the current file in the gzip filegzf-name! ( c-addr u gzf -- ) Set the name of the next file in the gzip filegzf-comment@ ( gzf -- c-addr u ) Get the comment of the current file in the gzip filegzf-comment! ( c-addr u gzf -- ) Set the comment for the next file in the gzip file Header wordsgzf-reset ( gzf -- ) Reset the gzip file header Inspectiongzf-dump ( gzf -- ) Dump the variable Generated by ofcfrth-0.10.0 |