Protocol structure can now specify the default port.

This commit is contained in:
Michael Brown
2005-05-01 23:57:09 +00:00
parent 63482e4fe9
commit f14af3d95c
5 changed files with 14 additions and 13 deletions

View File

@@ -2,9 +2,11 @@
#define PROTO_H
#include "tables.h"
#include "in.h"
struct protocol {
char *name;
in_port_t default_port;
int ( * load ) ( char *url,
struct sockaddr_in *server,
char *file,