pike.git / src / post_modules / Shuffler / d_source_pikestream.c

version» Context lines:

pike.git/src/post_modules/Shuffler/d_source_pikestream.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: d_source_pikestream.c,v 1.6 2003/03/14 15:57:49 grubba Exp $ + || $Id: d_source_pikestream.c,v 1.7 2004/10/16 07:27:29 agehall Exp $   */      #include "global.h"   #include "bignum.h"   #include "object.h"   #include "interpret.h"      #include "fdlib.h"   #include "fd_control.h"   
pike.git/src/post_modules/Shuffler/d_source_pikestream.c:62:    struct pf_source *s = (struct pf_source *)_s;    push_int(0);    apply( s->obj, "set_read_callback", 1 );    pop_stack();    push_int(0);    apply( s->obj, "set_close_callback", 1 );    pop_stack();   }       - static struct data get_data( struct source *_s, int len ) + static struct data get_data( struct source *_s, off_t len )   {    struct pf_source *s = (struct pf_source *)_s;    struct data res;    char *buffer = NULL;       if( s->str )    {    len = s->str->len;    if( s->skip )    {