Logo Search packages:      
Sourcecode: radiusd-livingston version File versions  Download package

conf.h

/*

RADIUS
Remote Authentication Dial In User Service

Lucent Technologies Remote Access
4464 Willow Road
Pleasanton, CA   94588

Copyright 1992-1999 Lucent Technologies Inc.  All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

   * Redistributions of source code must retain the above copyright
     notice, this list of conditions and the following disclaimer.

   * Redistributions in binary form must reproduce the above
     copyright notice, this list of conditions and the following
     disclaimer in the documentation and/or other materials provided
     with the distribution.

   * All advertising materials mentioning features or use of this
     software must display the following acknowledgement:

        This product includes software developed by Lucent
        Technologies and its contributors.

   * Neither the name of the copyright holder nor the names of its
     contributors may be used to endorse or promote products derived
     from this software without specific prior written permission.

This software is provided by the copyright holders and contributors
``as is'' and any express or implied warranties, including, but not
limited to, the implied warranties of merchantability and fitness for a
particular purpose are disclaimed. In no event shall the copyright
holder or contributors be liable for any direct, indirect, incidental,
special, exemplary, or consequential damages (including, but not
limited to, procurement of substitute goods or services; loss of use,
data, or profits; or business interruption) however caused and on any
theory of liability, whether in contract, strict liability, or tort
(including negligence or otherwise) arising in any way out of the use
of this software, even if advised of the possibility of such damage.

************************************************************************/

/*
 *    $Id: conf.h,v 1.9 1999/06/23 23:40:38 cdr Exp $
 */

#if !defined(NDBM)
#define     NDBM        /* all supported platforms use NDBM now */
#endif

#if defined(__alpha)
typedef unsigned int    UINT4;
#else
typedef unsigned long   UINT4;
#endif

#if defined(unixware) || defined(sys5) || defined(M_UNIX)
#include        <string.h>
#else   /* unixware */
#include        <strings.h>
#endif  /* unixware */

#if defined(bsdi)
#include        <machine/inline.h>
#endif      /* bsdi */

#if defined(bsdi) || defined(__FreeBSD__)
#include        <machine/endian.h>
#else /* bsdi */
#include        <malloc.h>
#ifndef __USE_BSD
extern char *sys_errlist[];
#endif /* _USE_BSD */
#endif /* bsdi */

#include    <stdlib.h>
#include    <stdio.h>

#if defined(aix)
#include    <sys/select.h>
#endif      /* aix      */

#if !defined(NDBM)
#define dbm_fetch(db,x) fetch(x)
#define dbm_close(db)   dbm_close()
#endif

#if defined(SECURID) || defined(ACTIVCARD)
#define SMARTCARD
#endif

#define VPORTS          /* Enable virtual port feature */

/* #define PASSCHANGE *//* uncomment this to enable radpass -- not recommended */

Generated by  Doxygen 1.6.0   Back to index