diff options
| author | David M. Syzdek <david@syzdek.net> | 2022-05-18 13:57:27 -0800 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2022-05-18 13:57:27 -0800 |
| commit | a5b74f02c1ecea3955ecc44d44f5da140c36727f (patch) | |
| tree | 8ce4be245dfd48a962ac352954b1e7b939ee2f82 /include/tinytac.h | |
| parent | bd82ca863e8340a927395dce56b6e8957f86e264 (diff) | |
| download | tinytac-a5b74f02c1ecea3955ecc44d44f5da140c36727f.tar.gz tinytac-a5b74f02c1ecea3955ecc44d44f5da140c36727f.tar.bz2 tinytac-a5b74f02c1ecea3955ecc44d44f5da140c36727f.tar.xz tinytac-a5b74f02c1ecea3955ecc44d44f5da140c36727f.zip | |
libtinytac: adjusting options passed to tinytac_initialize()
Diffstat (limited to '')
| -rw-r--r-- | include/tinytac.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/tinytac.h b/include/tinytac.h index f49e9ed..b5e330c 100644 --- a/include/tinytac.h +++ b/include/tinytac.h | |||
| @@ -113,8 +113,14 @@ | |||
| 113 | #define TTAC_NOINIT 0x00000001U | 113 | #define TTAC_NOINIT 0x00000001U |
| 114 | #define TTAC_IPV4 0x00000002U | 114 | #define TTAC_IPV4 0x00000002U |
| 115 | #define TTAC_IPV6 0x00000004U | 115 | #define TTAC_IPV6 0x00000004U |
| 116 | #define TTAC_IP_UNSPEC (TRAD_IPV4 | TRAD_IPV6) | 116 | #define TTAC_IP_UNSPEC (TTAC_IPV4 | TTAC_IPV6) |
| 117 | #define TTAC_SERVER 0x00000080U | 117 | #define TTAC_SERVER 0x00000080U |
| 118 | #define TTAC_ASCII 0x00000100U ///< allow ASCII authentication | ||
| 119 | #define TTAC_PAP 0x00000200U ///< allow PAP authentication | ||
| 120 | #define TTAC_CHAP 0x00000400U ///< allow CHAP authentication | ||
| 121 | #define TTAC_MSCHAP 0x00000800U ///< allow MSCHAP authentication | ||
| 122 | #define TTAC_MSCHAPV2 0x00001000U ///< allow MSCHAPv2 authentication | ||
| 123 | #define TTAC_AUTHEN_TYPES (TTAC_ASCII | TTAC_PAP | TTAC_CHAP | TTAC_MSCHAP | TTAC_MSCHAPV2 ) | ||
| 118 | 124 | ||
| 119 | 125 | ||
| 120 | #define TTAC_NO 0 | 126 | #define TTAC_NO 0 |
