Userland AX.25 stack
Find a file
XANTRONIX Development ba3923495e Implement patty_timer type
Changes:

    * Implement patty_timer type to store both a struct timeval and a
      bitfield for indicating timer state; currently, this only holds
      the PATTY_TIMER_RUNNING flag to indicate whether a timer has been
      stopped (irrespective of its "expired" status)

    * Remove 'target' argument from patty_timer_start(); instead, rely
      on select() polling every 1s to cause events to trigger at a
      regular interval

    * Make patty_timer_expired() return false if PATTY_TIMER_RUNNING is
      not set

    * Implement patty_timer_stop() to clear the PATTY_TIMER_RUNNING flag
      of a timer

    * Make patty_timer_clear() set all fields to zero, including
      clearing the PATTY_TIMER_RUNNING flag
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 patty_timer type 2024-03-01 00:20:46 -05:00
src Implement patty_timer type 2024-03-01 00:20:46 -05:00
configure Add byte order swapping macros to configure 2024-03-01 00:20:46 -05:00
Makefile Move test files to examples/; build libpatty 2024-03-01 00:20:46 -05:00