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


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.6 2002/11/25 17:00:38 hauk Exp $

Definition in file protocol.c.


Function Documentation

void* create_default  
 

Definition at line 71 of file protocol.c.

References NEW.

void* create_ftp  
 

Definition at line 99 of file protocol.c.

References NEW.

void* create_http  
 

Definition at line 85 of file protocol.c.

References NEW.

void* create_imap  
 

Definition at line 141 of file protocol.c.

References NEW.

void* create_nntp  
 

Definition at line 155 of file protocol.c.

References NEW.

void* create_pop  
 

Definition at line 127 of file protocol.c.

References NEW.

void* create_smtp  
 

Definition at line 113 of file protocol.c.

References NEW.

void* create_ssh  
 

Definition at line 169 of file protocol.c.

References NEW.

void gc_protocols  
 

Definition at line 57 of file protocol.c.

Referenced by gc().