Last change
on this file was
80,
checked in by Sam Hocevar, 15 years ago
|
- Adding the Golgotha source code. Not sure what's going to be interesting
in there, but since it's all public domain, there's certainly stuff to
pick up.
|
File size:
844 bytes
|
Line | |
---|
1 | /********************************************************************** <BR>
|
---|
2 | This file is part of Crack dot Com's free source code release of
|
---|
3 | Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
|
---|
4 | information about compiling & licensing issues visit this URL</a>
|
---|
5 | <PRE> If that doesn't help, contact Jonathan Clark at
|
---|
6 | golgotha_source@usa.net (Subject should have "GOLG" in it)
|
---|
7 | ***********************************************************************/
|
---|
8 |
|
---|
9 | #include "network/net_prot.hh"
|
---|
10 |
|
---|
11 | i4_net_protocol *i4_net_protocol::first=0;
|
---|
12 |
|
---|
13 | i4_net_protocol::i4_net_protocol()
|
---|
14 | {
|
---|
15 | next=first;
|
---|
16 | first=this;
|
---|
17 | }
|
---|
18 |
|
---|
19 |
|
---|
20 | i4_net_protocol *i4_get_typed_protocol(i4_protocol_type type)
|
---|
21 | {
|
---|
22 | for (i4_net_protocol *p=i4_get_first_protocol(); p; p=p->next)
|
---|
23 | if (p->type()==type)
|
---|
24 | return p;
|
---|
25 |
|
---|
26 |
|
---|
27 | return 0;
|
---|
28 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.