/[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 37 by werner, Thu Oct 27 19:12:40 2005 UTC revision 329 by twoaday, Fri Sep 25 16:08:14 2009 UTC
# Line 1  Line 1 
1  /* wptContext.h - Internal file to store private contexts  /* wptContext.h - Internal file to store private contexts
2   *      Copyright (C) 2001-2005 Timo Schulz   *      Copyright (C) 2001-2006, 2009 Timo Schulz
3   *   *
4   * This file is part of WinPT.   * This file is part of WinPT.
5   *   *
# Line 12  Line 12 
12   * but WITHOUT ANY WARRANTY; without even the implied warranty of   * but WITHOUT ANY WARRANTY; without even the implied warranty of
13   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14   * GNU General Public License for more details.   * GNU General Public License for more details.
  *  
  * You should have received a copy of the GNU General Public License  
  * along with WinPT; if not, write to the Free Software Foundation,  
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA  
15   */   */
16  #ifndef WPT_CONTEXT_H  #ifndef WPT_CONTEXT_H
17  #define WPT_CONTEXT_H  #define WPT_CONTEXT_H
# Line 46  struct winpt_key_s { Line 42  struct winpt_key_s {
42          int idx;                    /* selected index. */          int idx;                    /* selected index. */
43          int new_val;                /* new value */          int new_val;                /* new value */
44      } callback;      } callback;
45        char tmp_keyid[8+1];
46        int internal;
47        unsigned int allocated:1;
48  };  };
49  typedef struct winpt_key_s * winpt_key_t;  typedef struct winpt_key_s * winpt_key_t;
50    
# Line 69  struct md_file_s { Line 68  struct md_file_s {
68  };  };
69    
70  struct secdel_confirm_s {  struct secdel_confirm_s {
71      unsigned int       yes:1;   /* if yes=1 user confirmed delete. */      unsigned int    yes:1;    /* if yes=1 user confirmed delete. */
72      listview_ctrl_t    lv_files;/* listview control with the files to delete. */      listview_ctrl_t lv_files; /* listview with the files to delete. */
73        int             mode;     /* return the wipe mode. */
74        int             passes;   /* number of random passes. */
75  };  };
76    
77    
# Line 96  struct URL_ctx_s { Line 97  struct URL_ctx_s {
97      int  cancel;            /* user cancelled operation. */      int  cancel;            /* user cancelled operation. */
98      int  check;             /* use strict URL checking. */      int  check;             /* use strict URL checking. */
99  };  };
100    typedef struct URL_ctx_s *URL_ctx_t;
 struct first_start_s {  
     int choice;  
 };  
101    
102  /* Key generation context */  /* Key generation context */
103  struct genkey_s {  struct genkey_s {
104      gpgme_key_t  newkey;        /* handle to the new key */      gpgme_key_t  newkey;        /* handle to the new key */
105      int          interactive;      int          interactive;
106      unsigned int first_start:1;      unsigned int first_start:1;
107        unsigned int cancel:1;
108        char         *fpr;          /* fingerprint of the key. */
109  };  };
110    
111  #endif /* WPT_CONTEXT_H */  #endif /* WPT_CONTEXT_H */

Legend:
Removed from v.37  
changed lines
  Added in v.329

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26