]> git.ipfire.org Git - thirdparty/dhcp.git/commit
[#76] Initial implemention to dhcpctl_timed_wait_for_completion
authorThomas Markwalder <tmark@isc.org>
Thu, 23 Jan 2020 21:21:52 +0000 (16:21 -0500)
committerThomas Markwalder <tmark@isc.org>
Thu, 20 Jan 2022 21:30:49 +0000 (16:30 -0500)
commit7f1524669755d7a6e6cd1c3fb80084df273f3dc1
tree6a377a3ccee3135da05adf12e138aec3c3e40d4e
parent7de26fe7a1a2822f667ccaf7c633673cb2d0cead
[#76] Initial implemention to dhcpctl_timed_wait_for_completion

common/conflex.c
includes/dhctoken.h
dhcpctl/omshell.c
    Added support for "disconnect"

dhcpctl/cltest.2 - new file that exercizes timed waits and disconnect

dhcpctl/Makefile.am.in
    Added cltest2.c

dhcpctl/dhcpctl.*
    dhcpctl_timed_wait_for_completion() - new function
    dhcpctl_disconnect() - new function
    Added debug logging

omapip/dispatch.c
    Added protocol logging

    omapi_wait_for_completion()
        Fixed dangling waiter reference

    omapi_one_dispatch()
        Added logic to skip emit writefds from select list

omapip/support.c
    Changed annoying DEBUG logs to DEBUG_PROTOCOL
13 files changed:
common/conflex.c
dhcpctl/Makefile.am
dhcpctl/Makefile.am.in
dhcpctl/Makefile.in
dhcpctl/cltest2.c [new file with mode: 0644]
dhcpctl/dhcpctl.c
dhcpctl/dhcpctl.h
dhcpctl/omshell.c
includes/dhctoken.h
includes/omapip/omapip_p.h
omapip/connection.c
omapip/dispatch.c
omapip/support.c