Source code of Windows XP (NT5)
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.

37 lines
1.1 KiB

  1. /////////////////////////////////////////////////////////////
  2. // Copyright(c) 2001, Microsoft Corporation
  3. //
  4. // query.h
  5. //
  6. // Created on 1/18/01 by DKalin
  7. // Revisions:
  8. /////////////////////////////////////////////////////////////
  9. #ifndef _QUERY_H_
  10. #define _QUERY_H_
  11. // my constants
  12. #define KEYWORD_SHOW "show"
  13. #define KEYWORD_FILTERS "filters"
  14. #define KEYWORD_POLICIES "policies"
  15. #define KEYWORD_AUTH "auth"
  16. #define KEYWORD_STATS "stats"
  17. #define KEYWORD_SAS "sas"
  18. #define KEYWORD_ALL "all"
  19. // process query command line
  20. // accept command line (argc/argv) and the index where show flags start
  21. // return 0 if command completed successfully,
  22. // IPSECCMD_USAGE if there is usage error,
  23. // any other value indicates failure during execution (gets passed up)
  24. //
  25. // IMPORTANT: we assume that main module provide us with remote vs. local machine information
  26. // in the global variables
  27. //
  28. int ipseccmd_show_main ( int argc, char** argv, int start_index );
  29. // run SPD query and display results, uses global flags to determine what needs to be printed
  30. int do_show ( );
  31. #endif