diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ChangeLog | 4 | ||||
-rw-r--r-- | doc/gpg-agent.texi | 21 |
2 files changed, 25 insertions, 0 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog index 9dfcb86b4..df1b7d82f 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,7 @@ +2007-06-18 Werner Koch <[email protected]> + + * gpg-agent.texi (Agent GETINFO): New. + 2007-06-06 Werner Koch <[email protected]> * Makefile.am (yat2m): Use a plain rule to build it for the sake diff --git a/doc/gpg-agent.texi b/doc/gpg-agent.texi index ed3ff6052..3f0412538 100644 --- a/doc/gpg-agent.texi +++ b/doc/gpg-agent.texi @@ -674,6 +674,7 @@ secret keys. * Agent PASSWD:: Change a Passphrase * Agent UPDATESTARTUPTTY:: Change the Standard Display * Agent GETEVENTCOUNTER:: Get the Event Counters +* Agent GETINFO:: Return information about the process @end menu @node Agent PKDECRYPT @@ -1121,6 +1122,26 @@ Incremented for added or removed private keys. Incremented for changes of the card readers stati. @end table +@node Agent GETINFO +@subsection Return information about the process + +This is a multipurpose function to return a variety of information. + +@example +GETINFO @var{what} +@end example + +The value of @var{what} specifies the kind of information returned: +@table @code +@item version +Return the version of the program. +@item socket_name +Return the name of the socket used to connect the agent. +@item ssh_socket_name +Return the name of the socket used for SSH connections. If SSH support +has not been enabled the error @code{GPG_ERR_NO_DATA} will be returned. +@end table + @mansect see also @ifset isman |