X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..7e2a4802f98a1e22841be0ed47f3db773a5d6070:/projects/rlm_stg/radiusd.h diff --git a/projects/rlm_stg/radiusd.h b/projects/rlm_stg/radiusd.h index 2b93ee3a..4cbf4034 100644 --- a/projects/rlm_stg/radiusd.h +++ b/projects/rlm_stg/radiusd.h @@ -24,12 +24,12 @@ * */ -#include -RCSIDH(radiusd_h, "$Id: radiusd.h,v 1.1 2010/08/14 04:13:52 faust Exp $") +//#include +//RCSIDH(radiusd_h, "$Id: radiusd.h,v 1.1 2010/08/14 04:13:52 faust Exp $") #include "libradius.h" -#include -#include "conf.h" +//#include +//#include "conf.h" #include "conffile.h" #include "event.h" @@ -100,7 +100,7 @@ typedef struct auth_req REQUEST; #endif #include "stats.h" -#include "realms.h" +/*#include "realms.h"*/ /* @@ -119,7 +119,7 @@ typedef struct radclient { char *login; char *password; char *server; - int number; /* internal use only */ + int number; const CONF_SECTION *cs; #ifdef WITH_STATS fr_stats_t *auth; @@ -130,7 +130,7 @@ typedef struct radclient { #ifdef WITH_DYNAMIC_CLIENTS int lifetime; - int dynamic; /* was dynamically defined */ + int dynamic; time_t created; time_t last_new_client; char *client_server; @@ -169,6 +169,9 @@ typedef enum RAD_LISTEN_TYPE { RAD_LISTEN_MAX } RAD_LISTEN_TYPE; +#if defined(FREE_BSD) || defined(FREE_BSD5) +#include +#endif /* * For listening on multiple IP's and ports.