pike.git / src / modules / _Stdio / socket.c

version» Context lines:

pike.git/src/modules/_Stdio/socket.c:713:   }      /*! @endclass    */      /*! @endmodule    */      PMOD_EXPORT struct program *port_program = NULL;    - void port_exit_program(void) + void exit_stdio_port(void)   {    free_program( port_program );   }    - void port_setup_program(void) + void init_stdio_port(void)   {    ptrdiff_t offset;    START_NEW_PROGRAM_ID (STDIO_PORT);    offset = ADD_STORAGE(struct port);    MAP_VARIABLE("_accept_callback", tMix, 0,    offset + OFFSETOF(port, accept_callback), PIKE_T_MIXED);    MAP_VARIABLE("_id", tMix, 0,    offset + OFFSETOF(port, id), PIKE_T_MIXED);    /* function(int|string,void|mixed,void|string:int) */    ADD_FUNCTION("bind", port_bind,