diff options
Diffstat (limited to 'tools/extract.h')
-rw-r--r-- | tools/extract.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/extract.h b/tools/extract.h index 32b4e35..dfd3a33 100644 --- a/tools/extract.h +++ b/tools/extract.h @@ -43,6 +43,11 @@ #include "iter.h" #include "pkcs11.h" +enum { + /* These overlap with the flags in save.h, so start higher */ + P11_EXTRACT_COMMENT = 1 << 10, +}; + typedef struct { p11_dict *asn1_defs; p11_dict *limit_to_purposes; @@ -83,6 +88,9 @@ void p11_extract_info_cleanup (p11_extract_info *ex); char * p11_extract_info_filename (p11_extract_info *ex); +char * p11_extract_info_comment (p11_extract_info *ex, + bool first); + typedef bool (* p11_extract_func) (P11KitIter *iter, p11_extract_info *ex); |