summaryrefslogtreecommitdiffstats
path: root/common/sysutils.h
diff options
context:
space:
mode:
authorMarcus Brinkmann <mb@g10code.com>2008-06-25 19:44:26 +0200
committerMarcus Brinkmann <mb@g10code.com>2008-06-25 19:44:26 +0200
commitb60bfbe25cd87e5b3928ecd5ce618a3bbe3a7f3b (patch)
tree8e1edbb9d93fb5fd0d8f59d999f70bd9bbc78265 /common/sysutils.h
parentadd new certifciates (diff)
downloadgnupg2-b60bfbe25cd87e5b3928ecd5ce618a3bbe3a7f3b.tar.xz
gnupg2-b60bfbe25cd87e5b3928ecd5ce618a3bbe3a7f3b.zip
g10/
2008-06-25 Marcus Brinkmann <marcus@g10code.de> * gpg.c (enum cmd_and_opt_values): Remove option oEnableW32HandleTranslation. (opts): Remove option --enable-w32-handle-translation. (main): Remove variable w32_handle_translation. common/ 2008-06-25 Marcus Brinkmann <marcus@g10code.de> Revert last three changes related to handle translation. * sysutils.c: (FD_TRANSLATE_MAX, fd_translate, fd_translate_len) (translate_table_init, translate_table_lookup): Removed. * iobuf.c (check_special_filename): Do not use translate_table_lookup. * sysutils.h (translate_table_init, translate_table_lookup): Remove prototypes.
Diffstat (limited to 'common/sysutils.h')
-rw-r--r--common/sysutils.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/common/sysutils.h b/common/sysutils.h
index 9e0a323dd..de1e3bb1e 100644
--- a/common/sysutils.h
+++ b/common/sysutils.h
@@ -43,16 +43,6 @@ int enable_core_dumps (void);
const unsigned char *get_session_marker (size_t *rlen);
/*int check_permissions (const char *path,int extension,int checkonly);*/
void gnupg_sleep (unsigned int seconds);
-
-/* Initialize the fd translation table. This reads one line from
- stdin which is expected to be in the format "FROM TO [...]" where
- each "FROM TO" pair are two handle numbers. Handle number FROM on
- the command line is translated to handle number TO. */
-void translate_table_init (void);
-
-/* Translate a handle number. */
-int translate_table_lookup (int fd);
-
int translate_sys2libc_fd (gnupg_fd_t fd, int for_write);
int translate_sys2libc_fd_int (int fd, int for_write);
FILE *gnupg_tmpfile (void);