User`s guide

KwikNet Virtual File System
K
A
DAK
247
Source Files
The files which are to be inserted into your Virtual File System are specified using
keyword ...IN.
...IN FILE,COMPRESS
Parameter FILE is the name of a file to be included in your Virtual File System. The file
must be located in a directory which is accessible from the directory specified by the
...SRCPATH directive. The file name specified by parameter FILE can include a relative
path. Absolute paths or root relative paths are not allowed.
Files are inserted into your Virtual File System in the order in which the
...IN directives
are listed in your VFS Definition File.
Parameter COMPRESS can be used to override the VFS Generator's current compression
mode. The parameter only affects the file specified by FILE. If parameter COMPRESS is
set to c+, the file will be compressed as it is inserted into your Virtual File System, even
if compression is otherwise disabled. If parameter COMPRESS is set to c-, the file will not
be compressed, even if compression is otherwise enabled. If parameter COMPRESS is set
to c, the file will be compressed according to the compression mode which was in effect
when the VFS Generator was started.
Output File(s)
By default, your Virtual File System is generated as a C file whose name is derived from
the name of your VFS Definition File. For example, if your VFS Definition File is
named YOURVFS.UVF, then the resulting C file will be named YOURVFS.C. The C file is
created in the directory in which your VFS Definition File is located.
You can use the ...OUTFILE keyword to direct the VFS Generator to use a different file
name and directory for your Virtual File System C file.
...OUTFILE VFSFILE
Parameter VFSFILE must provide the path and file name of the file to be created by the
VFS Generator. The path must be a valid file path on the development system on which
the VFS Generator is executing. If no path is provided, the file will be created in the VFS
Generator's working directory.
The
...OUTFILE directive can be used repeatedly to split the resulting Virtual File
System source code into more than one C file. Whenever a ...OUTFILE directive is
encountered, the VFS Generator creates a new C file and inserts subsequent source files
specified with
...IN directives into the new file. This feature can be very useful if the
size of the C file needed to describe your entire Virtual File System would otherwise be
very large.