git.fiddlerwoaroof.com
request.cc
7684972a
 /* Copyright (C) CJ Affiliate
  *
  * You may use, distribute and modify this code under  the
  * terms of the  GNU General Public License  version 2  or
  * later.
  *
  * You should have received a copy of the license with this
  * file. If not, you will find a copy in the "LICENSE" file
  * at https://github.com/cjdev/dual-control.
  */
 
106b82e8
 #include <vector>
 #include <string>
 
 #include "request.h"
 
d49437a6
 std::vector<std::string> pam_request::arguments() const
a71244c0
 {
106b82e8
     std::vector<std::string> rval;
a71244c0
 
     for (int i= 0; i < argc_; i++) {
         rval.push_back (argv_[i]);
106b82e8
     }
a71244c0
 
106b82e8
     return rval;
 }