--- libwww/Library/src/HTProt.html 1996/07/04 18:40:25 2.20 +++ libwww/Library/src/HTProt.html 1996/10/29 21:27:46 2.20.2.1 @@ -54,6 +54,7 @@ When the protocol class routine is calle is already valid (made valid by HTAccess).
 typedef struct _HTProtocol HTProtocol;
+typedef int HTProtCallback (SOCKET, HTRequest *);
 

Creation and Deletion Methods @@ -69,9 +70,10 @@ to be called for loading.
 extern BOOL HTProtocol_add (const char *       	name,
 			    const char *	transport,
+			    u_short		port,
 			    BOOL		preemptive,
-			    HTEventCallback *	client,
-			    HTEventCallback *	server);
+			    HTProtCallback *	client,
+			    HTProtCallback *	server);
 

Delete a Protocol @@ -110,8 +112,16 @@ extern HTProtocol * HTProtocol_find (HTR You can get the callback functions registered together with a protocol object using the following methods.
-extern HTEventCallback * HTProtocol_client (HTProtocol * protocol);
-extern HTEventCallback * HTProtocol_server (HTProtocol * protocol);
+extern HTProtCallback * HTProtocol_client (HTProtocol * protocol);
+extern HTProtCallback * HTProtocol_server (HTProtocol * protocol);
+
+

+ Get the default port +

+

+Each protocol is registered with a default port +

+extern u_short HTProtocol_port (HTProtocol * protocol);
 

Is Access Scheme Preemptive @@ -140,6 +150,6 @@ extern const char * HTProtocol_transport


- @(#) $Id: HTProt.html,v 2.20 1996/07/04 18:40:25 frystyk Exp $ + @(#) $Id: HTProt.html,v 2.20.2.1 1996/10/29 21:27:46 eric Exp $