summaryrefslogtreecommitdiffabout
path: root/libmailutils/Makefile.am
authorSergey Poznyakoff <gray@gnu.org.ua>2010-10-05 18:53:39 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2010-10-05 18:53:39 (GMT)
commit8575afa0eb3a3f38642e28ec5ab109bc128c62dd (patch) (side-by-side diff)
tree29539bcff711fbc5b4142422404aea282c82a7d9 /libmailutils/Makefile.am
parent63d1c19652942be6b600a5855880667f16fdb8a3 (diff)
downloadmailutils-8575afa0eb3a3f38642e28ec5ab109bc128c62dd.tar.gz
mailutils-8575afa0eb3a3f38642e28ec5ab109bc128c62dd.tar.bz2
Implement echo control on fd streams. Implement mu_getpass function.
* configure.ac: Test for tcgetattr and tcsetattr. * gnulib.modules (getpass-gnu): Remove. * include/mailutils/mutil.h (mu_getpass): New proto. * include/mailutils/stream.h (MU_IOCTL_GET_ECHO) (MU_IOCTL_SET_ECHO): New ioctls. * include/mailutils/sys/file_stream.h (_MU_FILE_STREAM_ECHO_OFF): New flag. (_mu_file_stream) <echo_state>: New member. * libmailutils/getpass.c: New file. * libmailutils/Makefile.am (libmailutils_la_SOURCES): Add getpass.c. * libmailutils/file_stream.c (fd_done): Free echo_state. (fd_ioctl): Implement MU_IOCTL_GET_ECHO and MU_IOCTL_SET_ECHO. * mu/mu.h (mustrin): New extern. * mu/pop.c (com_pass): Use mu_getpass. * mu/shell.c (mustrin): New variable. (readline): Use mu_stream_getline instead of getline. (mutool_shell): Create mustrin. * pop3d/popauth.c (options): Fix typo. (fill_pass): Use mu_getpass.
Diffstat (limited to 'libmailutils/Makefile.am') (more/less context) (show whitespace changes)
-rw-r--r--libmailutils/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmailutils/Makefile.am b/libmailutils/Makefile.am
index e05edd8..3f083e0 100644
--- a/libmailutils/Makefile.am
+++ b/libmailutils/Makefile.am
@@ -84,6 +84,7 @@ libmailutils_la_SOURCES = \
folder.c\
freeitem.c\
gdebug.c\
+ getpass.c\
gocs.c\
hdritr.c\
header.c\

Return to:

Send suggestions and report system problems to the System administrator.