summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHashem Nasarat <hashem@riseup.net>2013-09-03 06:53:29 -0400
committerStef Walter <stefw@gnome.org>2013-10-07 12:36:43 +0200
commit3a5c4663bc7de0708d7e645dd89d78efed5e58d2 (patch)
treebdf35c45ebdedcd7f9d51426be6e83df714c81b5 /docs
parent6924fa9fb478af6624cdd262bb9dfca7818c23af (diff)
downloadgcr-3a5c4663bc7de0708d7e645dd89d78efed5e58d2.tar.gz
Parser: Store imported key filename in Parsed & Parser
1. Access to the filename is useful in many ways. Importers, e.g. GcrOpenSshImporter, have access to the GcrParsed, and can read the filename to preserve filenames of imported keys. 2. When the GcrViewerWindow reads a key to create a parser, store the filename as an instance variable of the parser 3. In the parse_...() functions where the GcrParsed is created, store the filename as an instance variable via push_parsed (read it from the parser). https://bugzilla.gnome.org/show_bug.cgi?id=705225
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/gcr/gcr-sections.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/reference/gcr/gcr-sections.txt b/docs/reference/gcr/gcr-sections.txt
index 3144d00..547a1dd 100644
--- a/docs/reference/gcr/gcr-sections.txt
+++ b/docs/reference/gcr/gcr-sections.txt
@@ -22,6 +22,8 @@ gcr_parser_get_parsed_attributes
gcr_parser_get_parsed_block
gcr_parser_get_parsed_bytes
gcr_parser_get_parsed_format
+gcr_parser_get_filename
+gcr_parser_set_filename
GcrParsed
gcr_parsed_ref
gcr_parsed_unref
@@ -32,6 +34,7 @@ gcr_parsed_get_description
gcr_parsed_get_format
gcr_parsed_get_label
gcr_parser_get_parsed
+gcr_parsed_get_filename
<SUBSECTION Standard>
GCR_TYPE_PARSED
GcrParserPrivate