GOPHER_C.C

LIB3/NET/VIRTUAL/GOPHER_C.C · 265 B

From the archive nm4dos.zip

Download the archive   « Back to the archive contents

mapping connections;

void    create()
{
    connections = ([ ]);
}				/* create() */

void    add_connection( string id, object ob )
{
    connections[ id ] = ob;
}				/* add_connection() */

object  query_connection( string id )
{
    return connections[ id ];
}

Site Stats

Snippets: 1791
Codebases: 571