[Winpt-commits] r140 - trunk/Include
scm-commit at wald.intevation.org
scm-commit at wald.intevation.org
Wed Jan 11 13:20:10 CET 2006
Author: twoaday
Date: 2006-01-11 13:20:10 +0100 (Wed, 11 Jan 2006)
New Revision: 140
Modified:
trunk/Include/ChangeLog
trunk/Include/wptKeylist.h
Log:
2006-01-10 Timo Schulz <ts at g10code.com>
* wptKeylist.h (siglist_sort): New.
Modified: trunk/Include/ChangeLog
===================================================================
--- trunk/Include/ChangeLog 2006-01-11 12:19:41 UTC (rev 139)
+++ trunk/Include/ChangeLog 2006-01-11 12:20:10 UTC (rev 140)
@@ -1,3 +1,7 @@
+2006-01-10 Timo Schulz <ts at g10code.com>
+
+ * wptKeylist.h (siglist_sort): New.
+
2006-01-09 Timo Schulz <ts at g10code.com>
* wptW32API.h (init_file_lock, release_file_lock): Removed.
Modified: trunk/Include/wptKeylist.h
===================================================================
--- trunk/Include/wptKeylist.h 2006-01-11 12:19:41 UTC (rev 139)
+++ trunk/Include/wptKeylist.h 2006-01-11 12:20:10 UTC (rev 140)
@@ -1,5 +1,5 @@
/* wptKeylist.h - Keylist element
- * Copyright (C) 2001-2005 Timo Schulz
+ * Copyright (C) 2001-2006 Timo Schulz
*
* This file is part of WinPT.
*
@@ -29,7 +29,11 @@
KEY_SORT_VALIDITY = 5,
KEY_SORT_OTRUST = 6,
KEY_SORT_CREATED = 7,
- KEY_SORT_ALGO = 8
+ KEY_SORT_ALGO = 8,
+
+ /* special attributes for signatures */
+ SIG_SORT_CLASS = 30,
+ SIG_SORT_EXPIRE = 31
};
/* Valid keylist modes. */
@@ -63,6 +67,17 @@
KM_COL_CREAT = 7
};
+/* Symbolic column IDs for sig lists */
+enum siglist_col_t {
+ SL_COL_UID = 0,
+ SL_COL_VALID = 1,
+ SL_COL_CLASS = 2,
+ SL_COL_CREATE = 3,
+ SL_COL_KEYID = 4,
+ SL_COL_EXPIRE = 5,
+ SL_COL_ALGO = 6
+};
+
/* Icon for the key types. */
enum key_image_t {
KEY_IMG_PUB = 0,
@@ -116,8 +131,9 @@
void implist_delete( listview_ctrl_t lv );
/*-- wptSigList.cpp --*/
-listview_ctrl_t siglist_load( HWND ctrl, const char *keyid );
-void siglist_delete( listview_ctrl_t lv );
+listview_ctrl_t siglist_load (HWND ctrl, const char *keyid);
+void siglist_delete (listview_ctrl_t lv);
+void siglist_sort (listview_ctrl_t sigl, int sortby);
/*-- wptVerifyList.cpp --*/
int verlist_build (listview_ctrl_t *lv, HWND ctrl, int fm_mode);
More information about the Winpt-commits
mailing list