WindowsXP-SP1/termsrv/admtools/qappsrv/nenum.c

67 lines
1.4 KiB
C
Raw Normal View History

2001-01-01 00:00:00 +01:00
//Copyright (c) 1998 - 1999 Microsoft Corporation
/*************************************************************************
*
* NENUM.C
*
* Name Enumerator for Networks
*
*
*************************************************************************/
/*
* Includes
*/
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "qappsrv.h"
/*=============================================================================
== External Functions Defined
=============================================================================*/
int AppServerEnum( void );
/*=============================================================================
== Functions used
=============================================================================*/
int NwEnumerate( void );
int MsEnumerate( void );
/*******************************************************************************
*
* AppServerEnum
*
* AppServerEnum returns an array of application servers
*
* ENTRY:
* nothing
*
* EXIT:
* ERROR_SUCCESS - no error
*
******************************************************************************/
int
AppServerEnum()
{
/*
* Enumerate netware network
*/
(void) NwEnumerate();
/*
* Enumerate ms network
*/
(void) MsEnumerate();
return( ERROR_SUCCESS );
}