Reads 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;
spp – a pointer to an internal thread control structure.
bp – a pointer to a buffer where the data from the client is placed.
buflen – size of the *bp pointer. This indicates how many bytes are transferred in each chunk.
outlenp – an output parameter, outlenp contains the number of bytes read into the *bp buffer.
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.