Changes:
* Move network interface configuration logic from bin/pattyd.c to
bin/if.c; implement a more robust state machine
* Move KISS TNC configuration code from bin/pattyd.c to bin/kiss.c
* Ensure configuration file name, line number, and erroneous part
of an expression are clearly indicated upon failure
Other changes:
* Improve bin/Makefile to rebuild objects when accompanying header
files change
* Refer to HEADERS_SUBDIR, not HEADER_SUBDIR, in Makefiles
13 lines
298 B
C
13 lines
298 B
C
#ifndef _PATTY_BIN_KISS_H
|
|
#define _PATTY_BIN_KISS_H
|
|
|
|
#include <patty/kiss.h>
|
|
|
|
typedef struct _patty_bin_kiss_data {
|
|
char err[256];
|
|
patty_kiss_tnc_info info;
|
|
} patty_bin_kiss_data;
|
|
|
|
int patty_bin_kiss_config(patty_bin_kiss_data *data, int argc, char **argv);
|
|
|
|
#endif /* _PATTY_BIN_KISS_H */
|