~ubuntu-branches/ubuntu/natty/libp11/natty

« back to all changes in this revision

Viewing changes to src/p11_slot.c

  • Committer: Bazaar Package Importer
  • Author(s): Eric Dorland
  • Date: 2009-08-16 23:45:00 UTC
  • mfrom: (4.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090816234500-rmcz7zu0bm46pgv7
Tags: 0.2.6-1
* New upstream release.
* debian/compat: Upgrade to version 7.
* debian/rules, debian/control: Use dh instead of debhelper.
* debian/control: Upgrade Standards-Version to 3.8.3.
* debian/libp11-1.install,  debian/libp11-1.shlibs, debian/libp11-1.symbols,
  debian/control: Rename libp11-0 to libp11-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
static void pkcs11_destroy_token(PKCS11_TOKEN *);
27
27
 
28
28
/*
 
29
 * Get slotid from private
 
30
 */
 
31
unsigned long
 
32
PKCS11_get_slotid_from_slot(PKCS11_SLOT *slot)
 
33
{
 
34
        PKCS11_SLOT_private *priv = PRIVSLOT(slot);
 
35
 
 
36
                return priv->id;
 
37
}
 
38
 
 
39
/*
29
40
 * Enumerate slots
30
41
 */
31
42
int