]> git.stg.codes - stg.git/blobdiff - projects/rlm_stg/libradius.h
ASN.1 sources moved to library
[stg.git] / projects / rlm_stg / libradius.h
index b184a75a3567f44e06f7477d020560e79982f19e..25cb98e165fb6c410f518b7e11943c8ff8164244 100644 (file)
  * Copyright 1999,2000,2001,2002,2003,2004,2005,2006,2007,2008  The FreeRADIUS server project
  */
 
  * Copyright 1999,2000,2001,2002,2003,2004,2005,2006,2007,2008  The FreeRADIUS server project
  */
 
-#include <freeradius/ident.h>
-RCSIDH(libradius_h, "$Id: libradius.h,v 1.1 2010/08/14 04:13:52 faust Exp $")
+//#include <freeradius/ident.h>
+//RCSIDH(libradius_h, "$Id: libradius.h,v 1.1 2010/08/14 04:13:52 faust Exp $")
 
 #include <errno.h>
 
 #include <errno.h>
+#include <time.h>
 
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdarg.h>
 
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdarg.h>
-#include "os_int.h"
+#include "stg/os_int.h"
 
 
+#ifdef FREE_BSD
+#include <sys/types.h>
+#endif
 #include <netinet/in.h>
 #include <sys/socket.h>
 
 #include <netinet/in.h>
 #include <sys/socket.h>
 
-#include <freeradius/radius.h>
-#include <freeradius/token.h>
-#include <freeradius/hash.h>
+/*#include <freeradius/radius.h>
+#include <freeradius/hash.h>*/
+
+#include "token.h"
 
 #ifdef SIZEOF_UNSIGNED_INT
 #if SIZEOF_UNSIGNED_INT != 4
 
 #ifdef SIZEOF_UNSIGNED_INT
 #if SIZEOF_UNSIGNED_INT != 4
@@ -50,8 +55,8 @@ RCSIDH(libradius_h, "$Id: libradius.h,v 1.1 2010/08/14 04:13:52 faust Exp $")
 /*
  *  Include for modules.
  */
 /*
  *  Include for modules.
  */
-#include <freeradius/sha1.h>
-#include <freeradius/md4.h>
+/*#include <freeradius/sha1.h>
+#include <freeradius/md4.h>*/
 
 #define EAP_START               2
 
 
 #define EAP_START               2
 
@@ -465,6 +470,6 @@ void *fr_fifo_pop(fr_fifo_t *fi);
 void *fr_fifo_peek(fr_fifo_t *fi);
 int fr_fifo_num_elements(fr_fifo_t *fi);
 
 void *fr_fifo_peek(fr_fifo_t *fi);
 int fr_fifo_num_elements(fr_fifo_t *fi);
 
-#include <freeradius/packet.h>
+//#include <freeradius/packet.h>
 
 #endif /*LIBRADIUS_H*/
 
 #endif /*LIBRADIUS_H*/