diff options
author | David Shaw <[email protected]> | 2005-08-21 14:20:27 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2005-08-21 14:20:27 +0000 |
commit | 2e8c02b54bc494f169acf1a50004752bd5944c74 (patch) | |
tree | 2d320c29ac93010e0f0553b67316b4961e5f7f8a /g10/exec.h | |
parent | * g10.c (main): Add aliases sign-with->local-user and user->recipient (diff) | |
download | gnupg-2e8c02b54bc494f169acf1a50004752bd5944c74.tar.gz gnupg-2e8c02b54bc494f169acf1a50004752bd5944c74.zip |
* exec.h, exec.c (make_tempdir, expand_args, exec_write, exec_read):
Minor cleanup to use bitfield flags instead of a bunch of integers.
Diffstat (limited to 'g10/exec.h')
-rw-r--r-- | g10/exec.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/g10/exec.h b/g10/exec.h index 90fc3b31d..b4a6f0ec1 100644 --- a/g10/exec.h +++ b/g10/exec.h @@ -28,7 +28,15 @@ struct exec_info { - int progreturn,binary,writeonly,madedir,use_temp_files,keep_temp_files; + int progreturn; + struct + { + unsigned int binary:1; + unsigned int writeonly:1; + unsigned int madedir:1; + unsigned int use_temp_files:1; + unsigned int keep_temp_files:1; + } flags; pid_t child; FILE *tochild; IOBUF fromchild; |