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

version» Context lines:

pike.git/src/modules/_Stdio/socket.c:797:    ADD_FUNCTION("set_id",port_set_id,tFunc(tMix,tMix),0);    /* function(:mixed) */    ADD_FUNCTION("query_id",port_query_id,tFunc(tNone,tMix),0);    /* function(:string) */    ADD_FUNCTION("query_address",socket_query_address,tFunc(tNone,tStr),0);    /* function(:int) */    ADD_FUNCTION("errno",port_errno,tFunc(tNone,tInt),0);    /* function(:object) */    port_fd_factory_fun_num =    ADD_FUNCTION("fd_factory", port_fd_factory, tFunc(tNone,tObjIs_STDIO_FD), -  ID_STATIC); +  ID_PROTECTED);    ADD_FUNCTION("accept",port_accept,tFunc(tNone,tObjIs_STDIO_FD),0);    /* function(void|string|int,void|mixed,void|string:void) */    ADD_FUNCTION("create", port_create,    tFunc(tOr3(tVoid,tStr,tInt) tOr(tVoid,tMix) tOr(tVoid,tStr),    tVoid), 0);    ADD_FUNCTION ("set_backend", port_set_backend, tFunc(tObj,tVoid), 0);    ADD_FUNCTION ("query_backend", port_query_backend, tFunc(tVoid,tObj), 0);    ADD_FUNCTION ("query_fd", port_query_fd, tFunc(tVoid,tInt), 0);      #ifdef SO_REUSEPORT