aboutsummaryrefslogtreecommitdiff
path: root/openssl/agent/pkcs11/options.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/agent/pkcs11/options.hxx')
-rw-r--r--openssl/agent/pkcs11/options.hxx125
1 files changed, 125 insertions, 0 deletions
diff --git a/openssl/agent/pkcs11/options.hxx b/openssl/agent/pkcs11/options.hxx
new file mode 100644
index 0000000..0e3aa08
--- /dev/null
+++ b/openssl/agent/pkcs11/options.hxx
@@ -0,0 +1,125 @@
+// -*- C++ -*-
+//
+// This file was generated by CLI, a command line interface
+// compiler for C++.
+//
+
+#ifndef OPENSSL_AGENT_PKCS11_OPTIONS_HXX
+#define OPENSSL_AGENT_PKCS11_OPTIONS_HXX
+
+// Begin prologue.
+//
+//
+// End prologue.
+
+#include <openssl/options.hxx>
+
+namespace openssl
+{
+ namespace agent
+ {
+ namespace pkcs11
+ {
+ class options
+ {
+ public:
+ options ();
+
+ // Return true if anything has been parsed.
+ //
+ bool
+ parse (int& argc,
+ char** argv,
+ bool erase = false,
+ ::openssl::cli::unknown_mode option = ::openssl::cli::unknown_mode::fail,
+ ::openssl::cli::unknown_mode argument = ::openssl::cli::unknown_mode::stop);
+
+ bool
+ parse (int start,
+ int& argc,
+ char** argv,
+ bool erase = false,
+ ::openssl::cli::unknown_mode option = ::openssl::cli::unknown_mode::fail,
+ ::openssl::cli::unknown_mode argument = ::openssl::cli::unknown_mode::stop);
+
+ bool
+ parse (int& argc,
+ char** argv,
+ int& end,
+ bool erase = false,
+ ::openssl::cli::unknown_mode option = ::openssl::cli::unknown_mode::fail,
+ ::openssl::cli::unknown_mode argument = ::openssl::cli::unknown_mode::stop);
+
+ bool
+ parse (int start,
+ int& argc,
+ char** argv,
+ int& end,
+ bool erase = false,
+ ::openssl::cli::unknown_mode option = ::openssl::cli::unknown_mode::fail,
+ ::openssl::cli::unknown_mode argument = ::openssl::cli::unknown_mode::stop);
+
+ bool
+ parse (::openssl::cli::scanner&,
+ ::openssl::cli::unknown_mode option = ::openssl::cli::unknown_mode::fail,
+ ::openssl::cli::unknown_mode argument = ::openssl::cli::unknown_mode::stop);
+
+ // Option accessors.
+ //
+ const bool&
+ help () const;
+
+ const bool&
+ version () const;
+
+ const simulate_outcome&
+ simulate () const;
+
+ bool
+ simulate_specified () const;
+
+ // Print usage information.
+ //
+ static ::openssl::cli::usage_para
+ print_usage (::std::ostream&,
+ ::openssl::cli::usage_para = ::openssl::cli::usage_para::none);
+
+ // Implementation details.
+ //
+ protected:
+ bool
+ _parse (const char*, ::openssl::cli::scanner&);
+
+ private:
+ bool
+ _parse (::openssl::cli::scanner&,
+ ::openssl::cli::unknown_mode option,
+ ::openssl::cli::unknown_mode argument);
+
+ public:
+ bool help_;
+ bool version_;
+ simulate_outcome simulate_;
+ bool simulate_specified_;
+ };
+ }
+ }
+}
+
+// Print page usage information.
+//
+namespace openssl
+{
+ ::openssl::cli::usage_para
+ print_openssl_agent_pkcs11_usage (::std::ostream&,
+ ::openssl::cli::usage_para = ::openssl::cli::usage_para::none);
+}
+
+#include <openssl/agent/pkcs11/options.ixx>
+
+// Begin epilogue.
+//
+//
+// End epilogue.
+
+#endif // OPENSSL_AGENT_PKCS11_OPTIONS_HXX