~ubuntu-branches/ubuntu/precise/gnupg2/precise-proposed

« back to all changes in this revision

Viewing changes to kbx/keybox-defs.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:
53
53
 
54
54
 
55
55
typedef struct keybox_name *KB_NAME;
56
 
typedef struct keybox_name const * CONST_KB_NAME;
57
 
struct keybox_name {
58
 
  struct keybox_name *next;
 
56
typedef struct keybox_name const *CONST_KB_NAME;
 
57
struct keybox_name 
 
58
{
 
59
  /* Link to the next resources, so that we can walk all
 
60
     resources.  */
 
61
  KB_NAME next;
 
62
 
 
63
  /* True if this is a keybox with secret keys.  */
59
64
  int secret;
 
65
 
60
66
  /*DOTLOCK lockhd;*/
 
67
 
 
68
  /* A table with all the handles accessing this resources.
 
69
     HANDLE_TABLE_SIZE gives the allocated length of this table unused
 
70
     entrues are set to NULL.  HANDLE_TABLE may be NULL. */
 
71
  KEYBOX_HANDLE *handle_table;
 
72
  size_t handle_table_size;
 
73
  
 
74
  /* Not yet used.  */
61
75
  int is_locked;
 
76
 
 
77
  /* Not yet used.  */
62
78
  int did_full_scan;
 
79
 
 
80
  /* The name of the resource file. */
63
81
  char fname[1];
64
82
};
65
83
 
129
147
/*    int preserve_permissions; */
130
148
/*  } keybox_opt; */
131
149
 
 
150
/*-- keybox-init.c --*/
 
151
void _keybox_close_file (KEYBOX_HANDLE hd);
 
152
 
132
153
 
133
154
/*-- keybox-blob.c --*/
134
155
#ifdef KEYBOX_WITH_OPENPGP