mirror of
git://git.gnupg.org/gnupg.git
synced 2024-11-12 21:58:50 +01:00
435ecaa5b0
photo. Use the short keyid as the filename on 8.3 systems. * exec.h, exec.c (make_tempdir, exec_write, exec_finish): Allow caller to specify filename. This should make things easier on windows and macs where the file extension is required, but a whole filename is even better. * keyedit.c (show_key_with_all_names, show_prefs): Show proper prefs for a v4 key uid with no selfsig at all. * misc.c (check_permissions): Don't check permissions on non-normal files (pipes, character devices, etc.)
23 lines
537 B
C
23 lines
537 B
C
#ifndef _EXEC_H_
|
|
#define _EXEC_H_
|
|
|
|
#include <unistd.h>
|
|
#include <stdio.h>
|
|
#include "iobuf.h"
|
|
|
|
struct exec_info
|
|
{
|
|
int progreturn,binary,writeonly,madedir,use_temp_files,keep_temp_files;
|
|
pid_t child;
|
|
FILE *tochild;
|
|
IOBUF fromchild;
|
|
char *command,*name,*tempdir,*tempfile_in,*tempfile_out;
|
|
};
|
|
|
|
int exec_write(struct exec_info **info,const char *program,
|
|
const char *args_in,const char *name,int writeonly,int binary);
|
|
int exec_read(struct exec_info *info);
|
|
int exec_finish(struct exec_info *info);
|
|
|
|
#endif /* !_EXEC_H_ */
|