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

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. /*************************************************************************
  3. *
  4. * NENUM.C
  5. *
  6. * Name Enumerator for Networks
  7. *
  8. *
  9. *************************************************************************/
  10. /*
  11. * Includes
  12. */
  13. #include <windows.h>
  14. #include <stdio.h>
  15. #include <stdlib.h>
  16. #include <string.h>
  17. #include "qappsrv.h"
  18. /*=============================================================================
  19. == External Functions Defined
  20. =============================================================================*/
  21. int AppServerEnum( void );
  22. /*=============================================================================
  23. == Functions used
  24. =============================================================================*/
  25. int NwEnumerate( void );
  26. int MsEnumerate( void );
  27. /*******************************************************************************
  28. *
  29. * AppServerEnum
  30. *
  31. * AppServerEnum returns an array of application servers
  32. *
  33. * ENTRY:
  34. * nothing
  35. *
  36. * EXIT:
  37. * ERROR_SUCCESS - no error
  38. *
  39. ******************************************************************************/
  40. int
  41. AppServerEnum()
  42. {
  43. /*
  44. * Enumerate netware network
  45. */
  46. (void) NwEnumerate();
  47. /*
  48. * Enumerate ms network
  49. */
  50. (void) MsEnumerate();
  51. return( ERROR_SUCCESS );
  52. }