/[winpt]/trunk/Include/wptContext.h
ViewVC logotype

Diff of /trunk/Include/wptContext.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 22 by twoaday, Wed Aug 10 11:33:35 2005 UTC revision 23 by twoaday, Fri Sep 30 10:10:16 2005 UTC
# Line 23  Line 23 
23    
24  struct subclass_s {  struct subclass_s {
25      HWND    dlg;      HWND    dlg;
26      WNDPROC old;      WNDPROC old;        /* old window procedure */
27      WNDPROC current;      WNDPROC current;    /* the subclass window procedure */
28      void * opaque;      void * opaque;
29  };  };
30    
31    /* Container for a gpgme key. */
32  struct winpt_key_s {  struct winpt_key_s {
33      const char * uid;      const char  *uid;
34      const char * keyid;      const char  *keyid;
35      unsigned int key_pair:1;      unsigned int key_pair:1;        /* is a complete key. */
36      unsigned int is_protected:1;      unsigned int is_protected:1;    /* secret key is protected. */
37      unsigned int update:1;      unsigned int update:1;          /* 1=need to reload key. */
38      unsigned int is_v3:1;      unsigned int is_v3:1;           /* key is version 3 (RSA/MD5) */
39      unsigned int flags;      unsigned int flags;
40      gpgme_key_t  ctx;      gpgme_key_t  ctx;
41        struct keycache_s *ext;
42        /* Callback structure if a listview needs to be updated. */
43      struct {      struct {
44          listview_ctrl_t ctl;          listview_ctrl_t ctl;        /* the listview control. */
45          int idx;          int idx;                    /* selected index. */
46          int new_val;          int new_val;
47      } callback;      } callback;
48  };  };
49  typedef struct winpt_key_s * winpt_key_t;  typedef struct winpt_key_s * winpt_key_t;
50    
51  struct text_input_s {  struct text_input_s {
52      char * data;      char  *data;    /* input data. */
53      size_t length;      size_t length;  /* length of input data. */
54      int    type;      int    type;    /* type of data (0=text data for signature) */
55  };  };
56    
57  struct date_s {  struct date_s {
58      int          cancel;      int          cancel;    /* cancel was hit. */
59      const char * text;      const char * text;      /* text used as the title. */
60      SYSTEMTIME   st;      SYSTEMTIME   st;        /* selected time by the user. */
61  };  };
62    
63  struct md_file_s {  struct md_file_s {
# Line 63  struct md_file_s { Line 66  struct md_file_s {
66  };  };
67    
68  struct secdel_confirm_s {  struct secdel_confirm_s {
69      unsigned int       yes:1;      unsigned int       yes:1;   /* if yes=1 user confirmed delete. */
70      gpgme_recipients_t rset;      listview_ctrl_t    lv_files;/* listview control with the files to delete. */
71  };  };
72    
73  struct import_status_s {  struct import_status_s {
# Line 77  struct progress_filter_s { Line 80  struct progress_filter_s {
80      HWND     dlg;      HWND     dlg;
81      HANDLE   thread_hd;      HANDLE   thread_hd;
82      int      error;      int      error;
83      const char * what;      const char *what;
84      int      type;      int      type;
85      unsigned curr;      unsigned curr;
86      unsigned total;      unsigned total;
# Line 85  struct progress_filter_s { Line 88  struct progress_filter_s {
88    
89    
90  struct URL_ctx_s {  struct URL_ctx_s {
91      const char *title;      const char *title;      /* title for the dialog. */
92      const char *desc;      const char *desc;       /* description of what to do. */
93      char url[256];      char url[256];          /* the selected URL. */
94      char proxy[64];      char proxy[64];
95      int  port;      int  port;              /* the port to use. */
96      int  cancel;      int  cancel;            /* user cancelled operation. */
97      int  check;      int  check;             /* use strict URL checking. */
98  };  };
99    
100  struct first_start_s {  struct first_start_s {

Legend:
Removed from v.22  
changed lines
  Added in v.23

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26