/**************************************************************************** | | (C) Copyright 1985, 1991, 1993, 1996 Novell, Inc. | All Rights Reserved. | | This program is free software; you can redistribute it and/or | modify it under the terms of version 2 of the GNU General Public | License as published by the Free Software Foundation. | | This program is distributed in the hope that it will be useful, | but WITHOUT ANY WARRANTY; without even the implied warranty of | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | GNU General Public License for more details. | | You should have received a copy of the GNU General Public License | along with this program; if not, contact Novell, Inc. | | To contact Novell about this file by physical or electronic mail, | you may find current contact information at www.novell.com | |*************************************************************************** | | NetWare Advance File Services (NSS) module | |--------------------------------------------------------------------------- | | $Author: taysom $ | $Date: 2004-12-31 01:10:58 +0530 (Fri, 31 Dec 2004) $ | | $RCSfile$ | $Revision: 465 $ | |--------------------------------------------------------------------------- | This module is used to: | NSS Library routine | | WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! | | This header file should ONLY be used for NSS internal development. | This includes Semantic Agents (SA) and Loadable Storage Services (LSS). | Any other use may cause conflicts which NSS will NOT fix. +-------------------------------------------------------------------------*/ #ifndef _DISPLAYVERSION_H_ #define _DISPLAYVERSION_H_ #ifndef _ZOMNI_H_ # include #endif #ifdef __cplusplus extern "C" { #endif /*------------------------------------------------------------------------- * Structure which defines VERSION information *-------------------------------------------------------------------------*/ typedef struct VersionInformation_s { NINT majorVersion; /* 1-nn */ NINT minorVersion; /* 0-nn */ NINT subVersion; /* 0-25 */ NINT buildNumber; /* 1-nnn */ NINT patentInfo; /* 0-2 */ } VersionInformation_s; #define VERINFO_NO_PATENT 0 #define VERINFO_PATENT_PENDING 1 #define VERINFO_PATENT 2 /* any other value will come through as NO_PATENT */ /*------------------------------------------------------------------------- * Function prototypes *-------------------------------------------------------------------------*/ extern void DisplayVersionInformation( char *appName, VersionInformation_s *versionInfo, char *flashString); /* may be NULL, if defined end with a "\n" */ /*------------------------------------------------------------------------- * This will format the version number into a string. *-------------------------------------------------------------------------*/ extern char *FormatVersionString( VersionInformation_s *vi, char *retBuffer); /* assumed to be a 16 byte buffer or larger */ /*------------------------------------------------------------------------- * This will display the default version information used standard names * for NSS. *-------------------------------------------------------------------------*/ #define DISPLAY_DEFAULT_VERSION_INFORMATION(flashString) \ DisplayVersionInformation(COMN_Resource.name,&COMN_Resource.verInfo,flashString); #ifdef __cplusplus } #endif #endif