aboutsummaryrefslogtreecommitdiffstats
path: root/src/assuan-socket-server.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-10-02Add new API assuan_set_sock_nonce.Werner Koch1-1/+18
Fixed a blocking problem on Windows.
2007-10-01Add socket wrapper API.Werner Koch1-1/+1
Changed the ABI ofthe W32 socket emulation.
2007-08-24Preparing 1.0.3Werner Koch1-1/+1
2007-07-12Introduced new type for better support of W32 HADNLES vs. file descriptors.Werner Koch1-16/+17
2007-07-05Switched to LGPLv3.libassuan-1.0.2Werner Koch1-4/+2
2007-06-12Various minor changes for W32Werner Koch1-4/+10
2006-09-19Fixed problems Nelson H. F. Beebe reported when doing build tests on severalWerner Koch1-1/+1
platforms.
2006-09-14Preparing a new releaselibassuan-0.9.0Werner Koch1-8/+17
2006-09-13More tweaks for descriptor passing.Werner Koch1-37/+33
gpg-connect-agent may now be used as a test program.
2006-09-12Integrated descriptor passing.Werner Koch1-3/+4
2006-09-06Changes to support gpg-error style error codes.Werner Koch1-3/+3
2005-10-24Fixed and clarified copyright noticesWerner Koch1-1/+2
2004-12-07* configure.ac: Define HAVE_W32_SYSTEM and HAVE_DOSISH_SYSTEM.Werner Koch1-1/+1
Add -lwsock2 to the config lib flags for W32. * assuan-logging.c, assuan-io.c: Include config.h * assuan-pipe-connect.c (assuan_pipe_connect2) [_WIN32]: Return error Not Imlemented.
2004-11-242004-11-23 Timo Schulz <[email protected]>Timo Schulz1-10/+14
* assuan-socket.c (_assuan_sock_connect): Get local port from the sun_path[] file. (_assuan_sock_bind): Write local port to the sun_path[] file. * assuan-socket-connect.c (assuan_socket_connect): Use DIRSEP_C for a better portability. (assuan-defs.h): Define DIRSEP_C. 2004-11-22 Timo Schulz <[email protected]> * assuan-io.c (_assuan_simple_read, _assuan_simple_write): W32 support. * assuan-socket.c (_assuan_close): New. (_assuan_sock_new): New. (_assuan_sock_bind): New.
2004-04-21* assuan-socket-server.c (accept_connection_bottom): Save the pidWerner Koch1-4/+5
of the peer if it is available. * assuan-socket-connect.c (assuan_socket_connect): Do not save the dummy SERVED_PID arg. * assuan-pipe-connect.c (do_finish): Don't wait if the pid is 0. (assuan_pipe_connect2): Store the parents pid in the environment of the child. * assuan-pipe-server.c (assuan_init_pipe_server): Initialize the peer's pid from the environment. * assuan-connect.c (assuan_get_pid): Do not return 0 as a PID.
2004-04-19* assuan-socket-server.c, assuan-socket-connect.c: IncludesWerner Koch1-0/+1
sys/types.h. Reported by Michael Nottebrock. * assuan-domain-connect.c: Ditto.
2002-11-232002-11-23 Neal H. Walfield <[email protected]>Neal Walfield1-1/+6
* Makefile.am (libassuan_a_SOURCES): Add assuan-io.c. * assuan-io.c: Restore. (_assuan_simple_read): Rename from _assuan_read. (_assuan_simple_write): Rename from _assuan_write. * assuan-defs.h (_assuan_simple_read): New prototype. (_assuan_simple_write): Likewise. * assuan-pipe-server.c (pipe_reader): Remove. (pipe_writer): Remove. (_assuan_new_context): Initialize IO is with _assuan_simple_read and _assuan_simple_write. * assuan-socket-connect.c (socket_reader): Remove. (socket_writer): Remove. (assuan_socket_connect): Initialize IO is with _assuan_simple_read and _assuan_simple_write. * assuan-socket-server.c (io): New local variable. (assuan_init_socket_server): Initialize CTX->io. (assuan_init_connected_socket_server): Likewise.
2002-11-212002-11-20 Neal H. Walfield <[email protected]>Neal Walfield1-1/+1
* assuan-defs.h (struct assuan_io): New structure. (struct assuan_context_s): New field, io. (_assuan_read): Depreciated. (_assuan_write): Likewise. * assuan-pipe-server.c: Include <unistd.h>. (pipe_reader): New function. (pipe_writer): Likewise. (_assuan_new_context.IO): New local static. Set to pipe_reader and pipe_writer. Use it to initialize new context. * assuan-socket-connect.c (socket_reader): New function. (socket_writer): New function. (assuan_socket_connect.IO): New local static. Set to socket_reader and socket_writer. Use it to initialize new context. * assuan-buffer.c (writen): Take an ASSUAN_CONTEXT rather than a file descriptor. Do not use _assuan_write but the write method in the supplied context. (readline): Likewise for _assuan_read. (assuan_write_line): When calling writen, pass CTX; not the file descriptor directly. (_assuan_cookie_write_data): Likewise. (_assuan_cookie_write_flush): Likewise. (_assuan_read_line): Likewise for readline. * Makefile.am (libassuan_a_SOURCES): Remove assuan-io.c. * assuan-io.c: Removed.
2002-07-30Changed the lincese for Assuan to LGPL.V0-3-10NEWPG-0-3-10Werner Koch1-12/+12
2002-05-23* assuan-util.c (assuan_set_io_func): New.V0-3-8V0-3-7NEWPG-0-3-8NEWPG-0-3-7Werner Koch1-21/+51
* assuan-buffer.c (writen, readline): Use the new functions instead of pth. * assuan-socket-server.c (accept_connection): Don't use the pth_accept - using the assuan included accept code would be a bad idea within Pth so we don't need a replacement function.
2002-02-18A bunch of new features. Allow empty responses on an inquiry.Werner Koch1-0/+11
2002-02-12* assuan-buffer.c (writen,readline) [USE_GNU_PT]: Use pth_read/write.Werner Koch1-0/+7
* assuan-socket-server.c (accept_connection) [USE_GNU_PTH]: Ditto.
2002-01-19* assuan-buffer.c (_assuan_read_line): Add output logging.Werner Koch1-0/+121
(assuan_write_line): Ditto. (_assuan_cookie_write_data): Ditto. (_assuan_cookie_write_flush): Ditto. * assuan-util.c (_assuan_log_print_buffer): New. (assuan_set_log_stream): New. (assuan_begin_confidential): New. (assuan_end_confidential): New. * assuan-defs.h: Add a few handler variables. * assuan-pipe-server.c (assuan_deinit_pipe_server): Removed. (deinit_pipe_server): New. (assuan_deinit_server): New. Changed all callers to use this. * assuan-listen.c (assuan_accept): Use the accept handler. * assuan-handler.c (process_request): Use the close Handler. * assuan-socket-server.c: New.