protocol.c File Reference

Factory module for vending protocol objects. More...

Go to the source code of this file.

Functions

void gc_protocols ()
void * create_default ()
void * create_http ()
void * create_ftp ()
void * create_smtp ()
void * create_pop ()
void * create_imap ()
void * create_nntp ()
void * create_ssh ()
void * create_dwp ()
void * create_ldap2 ()
void * create_ldap3 ()


Detailed Description

Factory module for vending protocol objects.

Using lazy initialization, and dishing out only one copy of the object.

Author:
Jan-Henrik Haukeland, <hauk@tildeslash.com>
Version:
$Id: protocol.c,v 1.9 2003/02/11 21:27:40 martinp Exp $

Definition in file protocol.c.


Function Documentation

void* create_default  
 

Definition at line 77 of file protocol.c.

References NEW.

void* create_dwp  
 

Definition at line 189 of file protocol.c.

References NEW.

void* create_ftp  
 

Definition at line 105 of file protocol.c.

References NEW.

void* create_http  
 

Definition at line 91 of file protocol.c.

References NEW.

void* create_imap  
 

Definition at line 147 of file protocol.c.

References NEW.

void* create_ldap2  
 

Definition at line 203 of file protocol.c.

References NEW.

void* create_ldap3  
 

Definition at line 217 of file protocol.c.

References NEW.

void* create_nntp  
 

Definition at line 161 of file protocol.c.

References NEW.

void* create_pop  
 

Definition at line 133 of file protocol.c.

References NEW.

void* create_smtp  
 

Definition at line 119 of file protocol.c.

References NEW.

void* create_ssh  
 

Definition at line 175 of file protocol.c.

References NEW.

void gc_protocols  
 

Definition at line 60 of file protocol.c.

Referenced by gc().