Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

66 lines
1.4 KiB

//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 );
}