radiusclient (0.3.2-14) include/radiusclient.h

Summary

 include/radiusclient.h |   15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

    
download this patch

Patch contents

--- radiusclient-0.3.2.orig/include/radiusclient.h
+++ radiusclient-0.3.2/include/radiusclient.h
@@ -38,8 +38,13 @@
 # define __P(protos) ()
 #endif
 
+#if !(defined(__x86_64__))
 typedef unsigned long UINT4;
 typedef long 	      INT4;
+#else
+typedef unsigned int UINT4;
+typedef int 	     INT4;
+#endif
 
 #define AUTH_VECTOR_LEN		16
 #define AUTH_PASS_LEN		(3 * 16) /* multiple of 16 */
@@ -153,6 +158,13 @@
 #define	PW_NAS_PORT_TYPE                61      /* integer */
 #define	PW_PORT_LIMIT                   62      /* integer */
 #define PW_LOGIN_LAT_PORT               63      /* string */
+#define PW_CONNECT_INFO                 77      /* string */
+#define PW_NAS_IPV6_ADDRESS             95      /* string */
+#define PW_FRAMED_INTERFACE_ID          96      /* string */
+#define PW_FRAMED_IPV6_PREFIX           97      /* string */
+#define PW_LOGIN_IPV6_HOST              98      /* string */
+#define PW_FRAMED_IPV6_ROUTE            99      /* string */
+#define PW_FRAMED_IPV6_POOL             100     /* string */
 
 /*	Accounting */
 
@@ -217,6 +229,7 @@
 #define PW_LAT                          4
 #define PW_X25_PAD                      5
 #define PW_X25_T3POS                    6
+#define PW_SSH                          1000 /* FIX ME dc Better value? */
 
 /*	TERMINATION ACTIONS	*/
 
@@ -379,7 +392,7 @@
 /*	config.c		*/
 
 int rc_read_config __P((char *));
-char *rc_conf_str __P((char *));
+char *rc_conf_str __P((const char *));
 int rc_conf_int __P((char *));
 SERVER *rc_conf_srv __P((char *));
 int rc_find_server __P((char *, UINT4 *, char *));