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.

60 lines
1.0 KiB

  1. /*++
  2. OBSOLETE.C
  3. functions that are obsolete.
  4. Created, 8/19/1997 from other files by DavidCHR
  5. --*/
  6. #include "private.h"
  7. PSAVEQUEUE OptionsGlobalSaveQueue = NULL;
  8. /* Included for compatibility. DO NOT USE */
  9. int
  10. ParseOptions( int argc,
  11. char **argv,
  12. optionStruct *options ) {
  13. PCHAR *newargv;
  14. int newargc;
  15. ASSERT( options != NULL );
  16. ASSERT( argv != NULL );
  17. OptionsGlobalSaveQueue = NULL;
  18. if ( ParseOptionsEx( argc, argv, options,
  19. 0L, &OptionsGlobalSaveQueue,
  20. &newargc, &newargv)) {
  21. OPTIONS_DEBUG( "ParseOptionsEx returns newargc as %d\n"
  22. " old argc was %d\n",
  23. newargc, argc );
  24. return argc-newargc;
  25. } else {
  26. return 0;
  27. }
  28. }
  29. VOID
  30. CleanupOptionData( VOID ) {
  31. if ( OptionsGlobalSaveQueue ) {
  32. CleanupOptionDataEx( OptionsGlobalSaveQueue );
  33. OptionsGlobalSaveQueue = NULL;
  34. }
  35. }