srv_langlen

Returns the length of the language request buffer.

Syntax

long srv_langlen ( SRV_PROC * srvproc );

where

srvproc
Is a pointer to the SRV_PROC structure that is the handle for a particular client connection (in this case, the handle that received the language request). The structure contains the information that the ODS Library uses to manage communication and data between the Open Data Services server application and the client.

Returns

The length, in bytes, of the language request buffer received from the client. If there is no current language request from the client, returns -1.

Remarks

All or part of the request buffer can be accessed using srv_langcpy.

See Also

This entry For information about
srv_langcpy Copying part of the language request buffer
srv_langptr Returning a pointer to the language request buffer