char * axl_stream_get_until_ref ( axlStream stream,
char *  valid_chars,
int *  chunk_matched,
bool  accept_terminator,
int *  result_size,
int  chunk_num,
  ... 
)

Works the same way like axl_strteam_get_until but wihtout allocating the memory returned, and filling the size for the chunk returned in result_size reference.

Parameters:
stream The stream where the operation will be performed.
valid_chars The valid chars reference to match (currently not implemented).
chunk_matched The chunk matched reference
accept_terminator Configure if the terminator should be accepted or not.
result_size The variable where the result size will be returned.
chunk_num The number of chunks to match.
Returns:
A reference to the internal stream copy. The reference returned must not be deallocated.