src/lib/gscphost/callbackregistries.c
struct ringbuf * ftacallback_next_streamid(gs_int32_t* state)
{
    for(;(nstreamid<lstreamid)
	    &&(fstreamid[nstreamid].streamid != cstreamid);
        nstreamid++);
    if (nstreamid<lstreamid) {
        nstreamid++;
        *state=fstreamid[nstreamid-1].state;
        return fstreamid[nstreamid-1].r;
    }
    return 0;
}
/* returns all the ringbuffer associated with the streamid passed in
 * ftacallback_start_streamid
 */
returns all the ringbuffer associated with the streamid passed in
ftacallback_start_streamid
returns all the ringbuffer associated with the streamid passed in ftacallback_start_streamid
struct ringbuf * ftacallback_next_streamid(gs_int32_t* state)
{
    for(;(nstreamid<lstreamid)
	    &&(fstreamid[nstreamid].streamid != cstreamid);
        nstreamid++);
    if (nstreamid<lstreamid) {
        nstreamid++;
        *state=fstreamid[nstreamid-1].state;
        return fstreamid[nstreamid-1].r;
    }
    return 0;
}
struct ringbuf * ftacallback_next_streamid ( gs_int32_t * state ) { for ( ; ( nstreamid < lstreamid ) && ( fstreamid [ nstreamid ] . streamid != cstreamid ) ; nstreamid ++ ) ; if ( nstreamid < lstreamid ) { nstreamid ++ ; * state = fstreamid [ nstreamid - 1 ] . state ; return fstreamid [ nstreamid - 1 ] . r ; } return 0 ; }
returns all the ringbuffer associated with the streamid passed in
 ftacallback_start_streamid
returns all the ringbuffer associated with the streamid passed in ftacallback_start_streamid