aboutsummaryrefslogtreecommitdiffstats
path: root/g13/g13.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2009-09-30 15:28:38 +0000
committerWerner Koch <[email protected]>2009-09-30 15:28:38 +0000
commit27c1b4bef84dcb3a77147887817f228ced8c1b31 (patch)
tree27817fb6ac1ae22d6bba472de9f55e998534c3df /g13/g13.h
parentRename encode.c to encrypt.c. (diff)
downloadgnupg-27c1b4bef84dcb3a77147887817f228ced8c1b31.tar.gz
gnupg-27c1b4bef84dcb3a77147887817f228ced8c1b31.zip
Some changes to suport g13.
Diffstat (limited to 'g13/g13.h')
-rw-r--r--g13/g13.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/g13/g13.h b/g13/g13.h
index ec0689a9c..5740e5860 100644
--- a/g13/g13.h
+++ b/g13/g13.h
@@ -41,7 +41,16 @@ struct
const char *homedir; /* Configuration directory name. */
const char *config_filename; /* Name of the used config file. */
+
+ /* Filename of the AGENT program. */
const char *agent_program;
+
+ /* Filename of the GPG program. Unless set via an program option it
+ is initialzed at the first engine startup to the standard gpg
+ filename. */
+ const char *gpg_program;
+
+ /* Environment variables passed along to the engine. */
char *display;
char *ttyname;
char *ttytype;
@@ -50,7 +59,9 @@ struct
char *xauthority;
char *pinentry_user_data;
- char *outfile; /* Name of the output file. */
+ /* Name of the output file - FIXME: what is this? */
+ const char *outfile;
+
} opt;
@@ -83,6 +94,10 @@ struct server_control_s
accessed. */
int with_colons; /* Use column delimited output format */
+
+ /* Type of the current container. See the CONTTYPE_ constants. */
+ int conttype;
+
};