ACSE/Presentation and ROSE Interface Programmer's Guide
Chapter 4 65
Programming Guide
ACSE/Presentation Example
ACSE/Presentation Example
Sample programs are included online in the /opt/ots/apli/demo directory.
You’ll also find:
• A readme file describing how the programs work.
• Header files included by the programs in the incl subdirectory.
• Functions specific to the Marben ASN.1 compiler and run-time
library to build, encode, decode, and free PDUs or C data structures
generated by the compiler are included in the file: asn1_if.c.
NOTE Note: To use a different compiler, customize these functions for the C
data structures and encoding/decoding routines generated by your ASN.1
compiler.
• Main program for the initiator process: init.c
• Main program for the responder process: resp.c
• Utility program used by both the initiator and responder: utils.c