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 ()


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.5 2002/08/26 16:28:40 chopp Exp $

Definition in file protocol.c.


Function Documentation

void* create_default  
 

Definition at line 69 of file protocol.c.

References NEW.

void* create_ftp  
 

Definition at line 97 of file protocol.c.

References NEW.

void* create_http  
 

Definition at line 83 of file protocol.c.

References NEW.

void* create_imap  
 

Definition at line 139 of file protocol.c.

References NEW.

void* create_nntp  
 

Definition at line 153 of file protocol.c.

References NEW.

void* create_pop  
 

Definition at line 125 of file protocol.c.

References NEW.

void* create_smtp  
 

Definition at line 111 of file protocol.c.

References NEW.

void gc_protocols  
 

Definition at line 56 of file protocol.c.

Referenced by gc().