~ubuntu-branches/ubuntu/natty/gnupg2/natty

« back to all changes in this revision

Viewing changes to scd/scdaemon.h

  • Committer: Bazaar Package Importer
  • Author(s): Eric Dorland
  • Date: 2009-03-08 22:46:47 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20090308224647-gq17gatcl71lrc2k
Tags: 2.0.11-1
* New upstream release. (Closes: #496663)
* debian/control: Make the description a little more distinctive than
  gnupg v1's. Thanks Jari Aalto. (Closes: #496323)

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
/* To convey some special hash algorithms we use algorithm numbers
35
35
   reserved for application use. */
36
 
#ifndef GCRY_MD_USER
37
 
#define GCRY_MD_USER 1024
 
36
#ifndef GCRY_MODULE_ID_USER
 
37
#define GCRY_MODULE_ID_USER 1024
38
38
#endif
39
 
#define GCRY_MD_USER_TLS_MD5SHA1 (GCRY_MD_USER+1)
 
39
#define MD_USER_TLS_MD5SHA1 (GCRY_MODULE_ID_USER+1)
40
40
 
41
41
/* Maximum length of a digest.  */
42
42
#define MAX_DIGEST_LEN 36
61
61
                          cards. */
62
62
  strlist_t disabled_applications;  /* Card applications we do not
63
63
                                       want to use. */
 
64
  unsigned long card_timeout; /* Disconnect after N seconds of inactivity.  */
64
65
} opt;
65
66
 
66
67
 
121
122
 
122
123
/*-- command.c --*/
123
124
void initialize_module_command (void);
124
 
void scd_command_handler (ctrl_t, int);
 
125
int  scd_command_handler (ctrl_t, int);
125
126
void send_status_info (ctrl_t ctrl, const char *keyword, ...)
126
127
     GNUPG_GCC_A_SENTINEL(1);
127
128
void scd_update_reader_status_file (void);