10 in_port_t default_port;
11 int ( * load ) ( char *url, struct sockaddr_in *server, char *file,
12 struct buffer *buffer );
16 * Protocols that should be used if no explicit protocol is specified
17 * (i.e. tftp) should use __default_protocol; all other protocols
18 * should use __protocol.
21 #define __protocol_start __table_start(protocol)
22 #define __protocol __table(protocol,01)
23 #define __default_protocol_start __table(protocol,02)
24 #define __default_protocol __table(protocol,03)
25 #define __protocol_end __table_end(protocol)
28 * Functions in proto.c
31 extern struct protocol * identify_protocol ( const char *name );