
TABLE OF CONTENTS
Overview of ASN1C
Using the Compiler
- Running ASN1C from the Command-line
- Using the GUI Wizard to Run ASN1C
- Compiling and Linking Generated Code
- Porting Run-time Code to Other Platforms
- Compiler Configuration File
- Compiler Error Reporting
Generated C/C++ Source Code
- Header (.h) File
- BOOLEAN
- INTEGER
- BIT STRING
- OCTET STRING
- ENUMERATED
- NULL
- OBJECT IDENTIFIER
- RELATIVE-OID
- REAL
- SEQUENCE
- SET
- SEQUENCE OF
- SET OF
- CHOICE
- Open Type
- Character String Types
- Time String Types
- EXTERNAL Type
- EMBEDDED PDV Type
- Parameterized Types
- Value Specifications
- CLASS specification
- ABSTRACT-SYNTAX and TYPE-IDENTIFIER
- Information Object
- Information Object Set
- Encode/Decode Function Prototypes
- Generated C++ Control Class Definition
- Generated Methods
- Generated Information Object Table Structures
- Generated C Source Files
- Maximum Lines per File
- Use of the -maxcfiles Option
- Generated C++ files
- Generated C/C++ files and the -compat Option
- General Procedures for Encoding and Decoding
- Dynamic Memory Management
- Populating Generated Structure Variables for Encoding
- Accessing Encoded Message Components
- Generated BER Encode Functions
- Generated C Function Format and Calling Parameters
- Generated C++ Encode Method Format and Calling Parameters
- Procedure for Calling C Encode Functions
- Encoding a Series of Messages Using the C Encode Functions
- Procedure for Using the C++ Control Class Encode Method
- Encoding a Series of Messages Using the C++ Control Class Interface
- Generated BER Decode Functions
- Generated C Function Format and Calling Parameters
- Generated C++ Decode Method Format and Calling Parameters
- Procedure for Calling C Decode Functions
- Decoding a Series of Messages Using the C Decode Functions
- Procedure for Using the C++ Control Class Decode Method
- Decoding a Series of Messages Using the C++ Control Class Interface
- BER Decode Performance Enhancement Techniques
- BER/DER Deferred Decoding
- Generated BER Stream-Oriented Encode Functions
- Generated Stream-Oriented C Function Format and Calling Parameters
- Procedure for Calling Stream-Oriented C Encode Functions
- Encoding a Series of Messages Using the Stream-Oriented C Encode Functions
- Generated Stream-Oriented C++ Encode Method Format and Calling Parameters
- Procedure for Using the Stream-Oriented C++ Control Class Encode Method
- Encoding a Series of Messages Using the Stream-Oriented C++ Control Class Interface
- Generated BER Stream-Oriented Decode Functions
- Generated Stream-Oriented C Function Format and Calling Parameters
- Procedure for Calling Stream-Oriented C Decode Functions
- Decoding a Series of Messages Using the Stream-Oriented C Decode Functions
- Generated Stream-Oriented C++ Decode Method Format and Calling Parameters
- Procedure for Using the Stream-Oriented C++ Control Class Decode Method
- Decoding a Series of Messages Using the C++ Control Class Interface
- Generated PER Encode Functions
- Generated C Function Format and Calling Parameters
- Generated C++ Encode Method Format and Calling Parameters
- Populating Generated Structure Variables for Encoding
- Procedure for Calling C Encode Functions
- Procedure for Using the C++ Control Class Encode Method
- Encoding a Series of PER Messages using the C++ Interface
- Generated PER Decode Functions
- Generated C Function Format and Calling Parameters
- Generated C++ Decode Method Format and Calling Parameters
- Procedure for Calling C Decode Functions
- Procedure for Using the C++ Control Class Encode Method
- Decoding a Series of Messages Using the C++ Control Class Interface
- Performance Considerations: Dynamic Memory Management
- Generated XER Encode Functions
- Generated C Function Format and Calling Parameters
- Generated C++ Encode Method Format and Calling Parameters
- Populating Generated Structure Variables for Encoding
- Procedure for Calling C Encode Functions
- Procedure for Using the C++ Control Class Encode Method
- Generated XER Decode Functions
- Procedure for Using the C Interface
- Generated C Function Format and Calling Parameters
- Procedure for Calling C Decode Functions
- Procedure for Using the C++ Interface
- Procedure for Interfacing with Other C and C++ XML Parser Libraries
- Generated XML Encode and Decode Functions
- Generated Initialization Functions
- Generated Memory Free Functions
- Generated Print Functions
- Print to Standard Output
- Print to String
- Print to Stream
- Print Format
- Generated Compare Functions
- Generated Copy Functions
- Generated Test Functions
- Generated Makefile
- Event Handler Interface
- How it Works
- How to Use It
- IMPORT/EXPORT of Types
ROSE and SNMP Macro Support
- ROSE OPERATION and ERROR
- SNMP OBJECT-TYPE
Index
Objective Systems, Inc.102 Pickering Way, Suite #506Exton, Pennsylvania 19341 http://www.obj-sys.com Phone: (484) 875-9841 Toll-free: (877) 307-6855 (US only) Fax: (484) 875-9830 info@obj-sys.com |