Read a text, unitext, or image parameter stream from a client, in chunks.
CS_RETCODE srv_get_data(spp, bp, buflen, outlenp)
SRV_PROC *spp; CS_BYTE *bp; CS_INT buflen; CS_INT *outlenp;
A pointer to an internal thread control structure.
A pointer to a buffer where the data from the client is placed.
The size of the *bp pointer, indicating how many bytes are transferred in each chunk.
The number of the bytes read into the *bp buffer is returned here.
Returns |
To indicate |
---|---|
CS_SUCCEED |
srv_get_data ran successfully, more data is pending. |
CS_FAIL |
The routine failed. |
CS_END_DATA |
srv_get_data has completed reading the entire text, unitext, or image parameter. |