Protocol Plug-in Programming Guide
Contents Index


Protocol Plug-in Programming Guide
  
This guide explains how to use the Netscape Protocol Level Plug-in API to write SMTP plug-ins that extend Netscape Messaging Server 4.1.

June 1999


Contents
 
About This Guide
What You Should Already Know
Where to Find the Protocol Plug-in Header File
Where to Find Messaging Server Information
Where to Find Information in This Guide
Document Conventions
Sample Code
 
Chapter 1 Introducing the Protocol Level Plug-in API
How You Can Use Protocol Level Plug-ins
Protocol Level Plug-ins in Messaging Server 4.1
How Protocol Level Plug-ins Work
Multithreading, Global Data, and Mutex
Memory Use
Configuring Messaging Server
Building Protocol Level Plug-ins
Installation for Protocol Level Plug-in Users
 
Chapter 2 Using the Protocol Level Plug-in API
Using Protocol Level Plug-in Functions
Working with Plug-in Structures
The ProtPlugSystem Structure
The PPSessionActions Structure
Using Macros
Passing Control to the Next Plug-in
Retrieving Session-Specific Information
 
Chapter 3 Protocol Level Plug-in API Reference
Functions
PPModule_Init
PPModule_Exit
PPModule_NewProtPlug
ProtPlug_ProcessLine
ProtPlug_Delete
Return Values for Functions
Access Macros
PPSESSION_DEFERLINE
PPSESSION_GETPROPERTY
Data Structures
PPMutex
PPSession
PPSessionActions
ProtPlugSystem
ProtPlug
Plug-in Result Codes
 
Chapter 4 Sample Protocol Level Plug-ins
The Anti-Relay Plug-in
The Tracer Plug-in
Anti-Relay Plug-in Code
Tracer Plug-in Code
 
Chapter 5 Trouble Shooting
Planning Memory Use
Handling External Dependencies
Processing DATA Lines
 
Index
 

© Copyright 1999 Netscape Communications Corp., a subsidiary of America Online, Inc. All rights reserved.