]> PatchyGit - patchyircd.git/commit
poll: change the net_pollfd public interface
authorEgor <egor@patchysicp.xyz>
Thu, 5 Jun 2025 16:33:33 +0000 (19:33 +0300)
committerEgor <egor@patchysicp.xyz>
Thu, 5 Jun 2025 16:33:33 +0000 (19:33 +0300)
commit7dee3f0ffe71ec99262d54d55e641411f0125165
treeb45e89e658f3c1765ddee143930fbac69cd82537
parent1b6d5b39c5a83458f721fc977aea534935ed4ac5
poll: change the net_pollfd public interface

Since we're copying the structure out in ::get we might as well keep it
separate from the internal structure (which really should be combined
with polldata).

Also rename it to just pollfd since we no longer have name conflict with
poll.h.
src/main.cpp
src/netpoll.cpp
src/netpoll.h