~ubuntu-branches/ubuntu/quantal/gnupg2/quantal-updates

« back to all changes in this revision

Viewing changes to scd/apdu.h

  • Committer: Bazaar Package Importer
  • Author(s): Marc Deslauriers
  • Date: 2011-05-25 14:27:35 UTC
  • mfrom: (1.1.15 upstream) (7.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20110525142735-jccyw0fopnyv728q
Tags: 2.0.17-2ubuntu1
* Merge from debian unstable. Remaining changes:
  - Add udev rules to give gpg access to some smartcard readers;
    Debian #543217.
    . debian/gnupg2.dev: udev rules to set ACLs on SCM smartcard readers.
    . debian/rules: Call dh_installudev.
  - debian/control: Rename Vcs-* to XS-Debian-Vcs-*.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 * You should have received a copy of the GNU General Public License
17
17
 * along with this program; if not, see <http://www.gnu.org/licenses/>.
18
18
 *
19
 
 * $Id: apdu.h 5080 2009-07-16 15:54:59Z wk $
 
19
 * $Id$
20
20
 */
21
21
 
22
22
#ifndef APDU_H
80
80
#define APDU_CARD_ACTIVE   (4)    /* Card is active.  */
81
81
 
82
82
 
83
 
/* Note , that apdu_open_reader returns no status word but -1 on error. */
84
 
int apdu_open_reader (const char *portstr);
 
83
/* Note, that apdu_open_reader returns no status word but -1 on error. */
 
84
int apdu_open_reader (const char *portstr, int *r_no_service);
85
85
int apdu_open_remote_reader (const char *portstr,
86
86
                             const unsigned char *cookie, size_t length,
87
87
                             int (*readfnc) (void *opaque,