User guide
A: Freeway File Reference
DC 900-1333Q 211
Note
The /usr partition is mounted READ_ONLY during normal Free-
way operations. You must first mount the /usr partition as
READ_WRITE before editing, compiling, and linking files in the
/usr partition.
1.3.1 Example Filter SRA
The files provided with the Freeway server distribution that are used to build the exam-
ple filter SRA are located in
/usr/local/freeway/client/test/sra. They are described below:
filter.c
This is the source code for the example message filtering SRA.
Makefile
This is the make file that compiles and links the filter.c file into
a shared object file that is later accessed by the Freeway dae-
mon. Refer to Chapter 6 for more information about the exam-
ple filter SRA.
1.3.2 Loopback Test Programs
Each protocol software distribution CDROM includes a loopback test program
designed to work with the protocol image. In most cases these files are already installed
on the Freeway server disk drive. These files are located in the directory structure
/usr/local/freeway/client/test/protocol where protocol is the name or mnemonic of the spe-
cific protocol used. In the following list of files we will use the Sample Protocol Software
(SPS) loopback program as an example. These files are located in the directory
/usr/local/freeway/client/test/sps. Loopback programs from other protocols have a similar
file set except that the three letter mnemonic is different for each protocol and the files
reside in different (parallel) subdirectories.
spsalp.c
This is the C source file for the loopback program (in this case
Sample Protocol Software). The “alp” stands for “asynchronous