Main Page   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

naming.c File Reference

Code for mapping between protocol name and number. More...

#include "memory.h"
#include "types.h"

Go to the source code of this file.

Functions

PROTO mapProtoNameToNum (char *name)
char* mapProtoNumToName (PROTO num)
int storeProtoMapping (char *name, PROTO num)
void cleanMapping (void)

Variables

char** names = (char**)0
PROTO* nums = (PROTO*)0
unsigned long proto_count = 0
unsigned long space = 0


Detailed Description

Code for mapping between protocol name and number.

Definition in file naming.c.


Function Documentation

void cleanMapping ( void )
 

Definition at line 63 of file naming.c.

PROTO mapProtoNameToNum ( char * name )
 

Definition at line 17 of file naming.c.

char * mapProtoNumToName ( PROTO num )
 

Definition at line 26 of file naming.c.

int storeProtoMapping ( char * name,
PROTO num )
 

Definition at line 35 of file naming.c.


Variable Documentation

char ** names = (char**)0
 

Definition at line 12 of file naming.c.

PROTO * nums = (PROTO*)0
 

Definition at line 13 of file naming.c.

unsigned long proto_count = 0
 

Definition at line 14 of file naming.c.

unsigned long space = 0
 

Definition at line 15 of file naming.c.


Generated at Mon Jul 8 15:16:50 2002 for RUBICON by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000