default arguments; refs #28

master
Marc Wäckerlin 11 years ago
parent cbef3c6e8c
commit 27569fd1d2
  1. 6
      doc/examples/suisse-id-demo.cxx
  2. 4
      src/cryptoki.hxx

@ -17,11 +17,7 @@ int main(int argc, char** argv) try {
mrw::args::parse(argc, argv,
"Sign a text (optionally several times for performance"
" measurements).",
mrw::args::list()
<<mrw::args::decl("h", "help", "show help",
mrw::args::decl::param_list()
<<mrw::args::help()
<<mrw::args::exit())
mrw::args::defaults()
<<mrw::args::decl("l", "library", "cryptoki lirary to load",
mrw::args::decl::param_list()
<<mrw::args::param(lib, "lib")));

@ -624,7 +624,7 @@ namespace cryptoki {
/*! @addtogroup cryptokilib */
//@{
//! to be instanciated before first use
/// Load Cryptoki Library for use with Smart Card.
class Library {
public:
@ -768,7 +768,7 @@ namespace cryptoki {
mrw::Shared<Init> _init;
};
//! Slot and Token Management
class Slot {
private:

Loading…
Cancel
Save