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

version» Context lines:

pike.git/src/post_modules/Shuffler/e_source_block_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: e_source_block_pikestream.c,v 1.1 2003/01/14 22:40:25 per Exp $ + || $Id: e_source_block_pikestream.c,v 1.2 2003/03/14 15:57:49 grubba 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/e_source_block_pikestream.c:112:       res = malloc( sizeof( struct pf_source ) );    MEMSET( res, 0, sizeof( struct pf_source ) );       res->len = len;    res->skip = start;       res->s.get_data = get_data;    res->s.free_source = free_source;    res->obj = s->u.object; -  res->obj->refs++; +  add_ref(res->obj);    return (struct source *)res;   }      void source_block_pikestream_exit( )   {   }      void source_block_pikestream_init( )   {   }