From 473e77563b16fa7c42db9403c1382e9483e3666c Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 18 May 2016 12:38:02 -0400 Subject: Remove CLTS code Never been used, as far as I can tell. Reviewed-by: Keith Packard Signed-off-by: Adam Jackson --- doc/xtrans.xml | 117 ++------------------------------------------------------- 1 file changed, 3 insertions(+), 114 deletions(-) (limited to 'doc/xtrans.xml') diff --git a/doc/xtrans.xml b/doc/xtrans.xml index e3bc1c9..08a3cac 100644 --- a/doc/xtrans.xml +++ b/doc/xtrans.xml @@ -204,20 +204,6 @@ typedef struct _Xtransport { const char * /* port */ ); - XtransConnInfo (*OpenCLTSClient)( - struct _Xtransport *, /* transport */ - const char *, /* protocol */ - const char *, /* host */ - const char * /* port */ - ); - - XtransConnInfo (*OpenCLTSServer)( - struct _Xtransport *, /* transport */ - const char *, /* protocol */ - const char *, /* host */ - const char * /* port */ - ); - int (*SetOption)( XtransConnInfo, /* connection */ int, /* option */ @@ -416,36 +402,6 @@ This function creates a Connection-Oriented Transport that is suitable for use by a server. The parameter address contains the full address to which this server will be bound. This function returns an opaque transport connection object on success, or NULL -on failure. - - - - - - XtransConnInfo TRANS(OpenCLTSClient) - const char *address - - - -This function creates a Connection-Less Transport that is suitable for -use by a client. The parameter address contains the -full address of the server to which this endpoint will be connected. This -function returns an opaque transport connection object on success, or -NULL on failure. - - - - - - XtransConnInfo TRANS(OpenCLTSServer) - const char *address - - - -This function creates a Connection-Less Transport that is suitable for -use by a server. The parameter address contains the -full address to which this server will be bound. This function returns an -opaque transport connection object on success, or NULL on failure. @@ -487,8 +443,7 @@ Based on current usage, the complimentary function This function sets up the server endpoint for listening. The parameter connection is an endpoint that was obtained from -TRANS(OpenCOTSServer)() or -TRANS(OpenCLTSServer)(). The parameter +TRANS(OpenCOTSServer)(). The parameter port specifies the port to which this endpoint should be bound for listening. If port is NULL, then the transport may attempt to allocate any available TSAP for this @@ -578,8 +533,7 @@ This function provides the same functionality as the This function will return the number of bytes requested on a COTS -connection, and will return the minimum of the number bytes requested or -the size of the incoming packet on a CLTS connection. +connection, and will return the minimum of the number bytes requested. @@ -593,7 +547,7 @@ the size of the incoming packet on a CLTS connection. This function will write the requested number of bytes on a COTS -connection, and will send a packet of the requested size on a CLTS connection. +connection. @@ -724,25 +678,6 @@ a COTS server endpoint for each transport listed in the transport table. partial_ret will be set to True if only a partial network could be created. count_ret is the number of transports returned, and connections_ret -is the list of transports. - - - - - - int TRANS(MakeAllCLTSServerListeners) - const char *port - int *partial_ret - int *count_ret - XtransConnInfo **connections_ret - - - -This function should be used by most servers. It will try to establish a -CLTS server endpoint for each transport listed in the transport table. -partial_ret will be set to True if -only a partial network could be created. count_ret is -the number of transports returned, and connections_ret is the list of transports. @@ -867,52 +802,6 @@ XtransConnInfo structure that is returned by this function. This function will open the transport. - - - - XtransConnInfo *OpenCLTSClient - struct _Xtransport *thistrans - const char *protocol - const char *host - const char *port - - - -This function creates a Connection-Less Transport. The parameter -thistrans points to an Xtransport entry in the -transport table. The parameters protocol, -host, and port point to strings -containing the corresponding parts of the address that was passed into -TRANS(OpenCLTSClient)(). -This function must allocate and initialize the contents of the XtransConnInfo -structure that is returned by this function. This function will open the -transport, and bind it into the transport namespace if applicable. The -local address portion of the XtransConnInfo structure will also be filled -in by this function. - - - - - - XtransConnInfo *OpenCLTSServer - struct _Xtransport *thistrans - const char *protocol - const char *host - const char *port - - - -This function creates a Connection-Less Transport. The parameter -thistrans points to an Xtransport entry in the -transport table. The parameters protocol, -host, and port point to strings -containing the corresponding parts of the address that was passed into -TRANS(OpenCLTSServer)(). -This function must allocate and initialize the contents of the -XtransConnInfo structure that is returned by this function. This -function will open the transport. - - -- cgit v1.2.3