~ubuntu-branches/ubuntu/jaunty/pcsc-lite/jaunty-security

« back to all changes in this revision

Viewing changes to src/hotplug.h

  • Committer: Bazaar Package Importer
  • Author(s): Ludovic Rousseau
  • Date: 2004-06-13 21:45:56 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20040613214556-zio7hrzkz9wwtffx
Tags: 1.2.9-beta2-2
* debian/rules: add -lpthread to LDFLAGS so that pthread_* symbols are
  included in the library (problem only seen on mips and mipsel).
  Closes: #253629
* debian/control: make libpcsclite-dev and libpcsclite1 at Priority:
  optional so that other packages at Priority: optional can use them.
  Closes: #249374

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/******************************************************************
2
 
 
3
 
        MUSCLE SmartCard Development ( http://www.linuxnet.com )
4
 
            Title  : hotplug.h
5
 
            Package: pcsc lite
6
 
            Author : David Corcoran
7
 
            Date   : 10/25/00
8
 
            License: Copyright (C) 2000 David Corcoran
9
 
                     <corcoran@linuxnet.com>
10
 
            Purpose: This provides a search API for hot pluggble
11
 
                     devices.
12
 
                    
13
 
********************************************************************/
 
1
/*
 
2
 * This provides a search API for hot pluggble devices.
 
3
 *
 
4
 * MUSCLE SmartCard Development ( http://www.linuxnet.com )
 
5
 *
 
6
 * Copyright (C) 2000-2003
 
7
 *  David Corcoran <corcoran@linuxnet.com>
 
8
 *
 
9
 * $Id: hotplug.h,v 1.6 2004/03/18 10:08:50 rousseau Exp $
 
10
 */
14
11
 
15
12
#ifndef __hotplug_h__
16
13
#define __hotplug_h__
17
14
 
18
15
#ifdef __cplusplus
19
 
extern "C" {
20
 
#endif  
21
 
  
22
 
  LONG HPSearchHotPluggables();
 
16
extern "C"
 
17
{
 
18
#endif
 
19
 
 
20
#ifndef PCSCLITE_HP_DROPDIR
 
21
#define PCSCLITE_HP_DROPDIR             "/usr/local/pcsc/drivers/"
 
22
#endif
 
23
 
 
24
#define PCSCLITE_HP_MANUKEY_NAME        "ifdVendorID"
 
25
#define PCSCLITE_HP_PRODKEY_NAME        "ifdProductID"
 
26
#define PCSCLITE_HP_NAMEKEY_NAME        "ifdFriendlyName"
 
27
#define PCSCLITE_HP_LIBRKEY_NAME        "CFBundleExecutable"
 
28
 
 
29
#define PCSCLITE_HP_BASE_PORT           0x200000
 
30
 
 
31
        LONG HPSearchHotPluggables(void);
 
32
        ULONG HPRegisterForHotplugEvents(void);
 
33
        LONG HPStopHotPluggables(void);
23
34
 
24
35
#ifdef __cplusplus
25
36
}
26
 
#endif 
27
 
 
28
 
#endif
29
 
 
 
37
#endif
 
38
 
 
39
#endif