Searched refs:newlisten (Results 1 – 1 of 1) sorted by relevance
85 struct Listener *newlisten = NULL; in new_listener() local120 newlisten = (struct Listener*)m_malloc(sizeof(struct Listener)); in new_listener()121 newlisten->index = i; in new_listener()122 newlisten->type = type; in new_listener()123 newlisten->typedata = typedata; in new_listener()124 newlisten->nsocks = nsocks; in new_listener()125 memcpy(newlisten->socks, socks, nsocks * sizeof(int)); in new_listener()126 newlisten->acceptor = acceptor; in new_listener()127 newlisten->cleanup = cleanup; in new_listener()129 ses.listeners[i] = newlisten; in new_listener()[all …]