pike.git / src / modules / DVB / dvb.c

version» Context lines:

pike.git/src/modules/DVB/dvb.c:1784:    start_new_program();    ADD_STORAGE(dvb_stream_data);    set_init_callback(init_dvb_stream);    set_exit_callback(exit_dvb_stream);       add_function("create", f_stream_create, "function(object,int,function|int,int:void)", 0);    add_function("destroy", f_stream_detach, "function(void:void)", 0);    add_function("read", f_stream_read, "function(int|void:string|int)", 0);    add_function("set_buffer", f_stream_set_buffer, "function(int:int)", 0);    add_function("info", f_stream_info, "function(int:mapping|int)", 0); -  add_function("close", f_stream_info, "function(:void)", 0); +  add_function("close", f_stream_close, "function(:void)", 0);       dvb_stream_program = end_program();    add_program_constant("Stream", dvb_stream_program, 0);       /* Audio */    start_new_program();    ADD_STORAGE(dvb_audio_data);    set_init_callback(init_dvb_audio);    set_exit_callback(exit_dvb_audio);