patty/examples
XANTRONIX Development 9734c97f35 Implement src/daemon.c
Implement src/daemon.c to provide a high level method to instantiate a
patty server

Changes:

    * Refactor src/server.c, src/route.c, src/if.c methods which accept
      callsign arguments to use a patty_ax25_addr pointer instead; this
      has significantly reduced the number of redundant calls to
      patty_ax25_pton()

    * Decouple patty_ax25_addr from patty_ax25_if_info types when
      creating new interfaces with patty_ax25_if_new(); instead, take a
      separate patty_ax25_addr argument

    * Split patty_ax25_server_run() into the following methods:

          - patty_ax25_server_start()
          - patty_ax25_server_stop()
          - patty_ax25_server_event_handle()

      This is intended to allow possible integration into other event
      loops.

    * Implement src/daemon.c to allow quick instantiation of a server,
      interfaces, and routes, and to encapsulate the setting of
      configuration variables; callsigns and interface names are handled
      as character strings

    * Rename examples/server.c to examples/daemon.c; reimplement in
      terms of the patty_daemon code

    *
2024-03-01 00:20:47 -05:00
..
ax25config.txt Add examples/ax25config.txt 2024-03-01 00:20:45 -05:00
ax25dump.c Rename patty_ax25_sock member 'status' to 'state' 2024-03-01 00:20:47 -05:00
connect.c Missed a spot with patty_ax25_pton() fix 2024-03-01 00:20:47 -05:00
daemon.c Implement src/daemon.c 2024-03-01 00:20:47 -05:00
decode.c Don't exit when unable to decode specific frames 2024-03-01 00:20:46 -05:00
listen.c Missed a spot with patty_ax25_pton() fix 2024-03-01 00:20:47 -05:00
Makefile Implement src/daemon.c 2024-03-01 00:20:47 -05:00
patty.conf Better prototypes; better config 2024-03-01 00:20:46 -05:00