gpgme-tool: add a simple socket server (with -s/--server).
authorW. Trevor King <wking@tremily.us>
Wed, 10 Oct 2012 15:13:33 +0000 (11:13 -0400)
committerW. Trevor King <wking@tremily.us>
Thu, 11 Oct 2012 18:12:22 +0000 (14:12 -0400)
commitd6736509bfbe288092cd2c5ce0431b5a40da76f1
tree800197840095edc8c753b751efad85783a7ac1c3
parente11e7fc5586613525035c3358e15ae24accb96ea
gpgme-tool: add a simple socket server (with -s/--server).

src/gpgme-tool.c (socket_path, socket_fd, cleanup_handler,
expand_path): New.
(gpgme_server): Add socket_server argument.

Signed-off-by: W. Trevor King <wking@tremily.us>
src/gpgme-tool.c