home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
radi116c.zip
/
radius116c
/
src
/
radius
/
version.c
< prev
Wrap
C/C++ Source or Header
|
1999-01-21
|
3KB
|
100 lines
/*
*
* RADIUS
* Remote Authentication Dial In User Service
*
*
* Livingston Enterprises, Inc.
* 6920 Koll Center Parkway
* Pleasanton, CA 94566
*
* Copyright 1992 Livingston Enterprises, Inc.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose and without fee is hereby granted, provided that this
* copyright and permission notice appear on all copies and supporting
* documentation, the name of Livingston Enterprises, Inc. not be used
* in advertising or publicity pertaining to distribution of the
* program without specific prior permission, and notice be given
* in supporting documentation that copying and distribution is by
* permission of Livingston Enterprises, Inc.
*
* Livingston Enterprises, Inc. makes no representations about
* the suitability of this software for any purpose. It is
* provided "as is" without express or implied warranty.
*
*/
static char sccsid[] =
"@(#)version.c 1.2 Copyright 1992 Livingston Enterprises Inc";
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include "radius.h"
extern char *progname;
/* If you make any changes to this software please update this
* version number; contact support@livingston.com if you
* would like a range of versions allocated for your use.
*/
#define VERSION "Os/2 ver 1.16c 99/01/21"
/*************************************************************************
*
* Function: version
*
* Purpose: Display the revision number for this program
*
*************************************************************************/
void
version(void)
{
fprintf(stderr, "%s: RADIUS version %s\n", progname, VERSION);
/* here are all the conditional feature flags */
#if defined(DBM)
fprintf(stderr," DBM");
#endif
#if defined(NOSHADOW)
fprintf(stderr," NOSHADOW");
#endif
/* here are all the system definitions compilation uses */
#if defined(__alpha)
fprintf(stderr," __alpha");
#endif
#if defined(__osf__)
fprintf(stderr," __osf__");
#endif
#if defined(aix)
fprintf(stderr," aix");
#endif
#if defined(bsdi)
fprintf(stderr," bsdi");
#endif
#if defined(sun)
fprintf(stderr," sun");
#endif
#if defined(sys5)
fprintf(stderr," sys5");
#endif
#if defined(unixware)
fprintf(stderr," unixware");
#endif
#if defined(M_UNIX)
fprintf(stderr," M_UNIX");
#endif
#if defined(WIN32)
fprintf(stderr," WIN32");
#endif
#if defined(OS2)
fprintf(stderr,"Os/2");
#endif
fprintf(stderr,"\n");
}