Userland AX.25 stack
Find a file
XANTRONIX Development e10ce6b8e1 Implement generic timer functions in src/timer.c
Changes:

    * Implement patty_timer_expired() to determine if a timer has
      expired or has gone negative

    * Implement patty_timer_cancel() to set a timer to zero

    * Implement patty_timer_start() to initialize a timer, add a
      specified number of milliseconds, and ensure a target timer (such
      as the server timer) is set for at least that value as well

    * Implement patty_timer_tick() to subtract an elapsed time value
      from a timer

    * Remove functions specific to each timer in src/sock.c, as those
      can now be handled generically by src/timer.c

    * Replace calls to patty_ax25_sock_timer_t1_*() with patty_timer_*()
      calls instead; reference the struct timeval objects directly
      within the sock (for the time being, pending opaque structures)
2024-03-01 00:20:46 -05:00
doc Elaborate upon some finer points 2024-03-01 00:20:46 -05:00
examples Use ptsname(), not ptsname_r(), for portability 2024-03-01 00:20:46 -05:00
include/patty Implement generic timer functions in src/timer.c 2024-03-01 00:20:46 -05:00
src Implement generic timer functions in src/timer.c 2024-03-01 00:20:46 -05:00
configure Update configure from birchvm 2024-03-01 00:20:46 -05:00
Makefile Move test files to examples/; build libpatty 2024-03-01 00:20:46 -05:00