aboutsummaryrefslogtreecommitdiffstats
path: root/src/assuan-socket-server.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Preparing 1.0.3Werner Koch2007-08-241-1/+1
|
* Introduced new type for better support of W32 HADNLES vs. file descriptors.Werner Koch2007-07-121-16/+17
|
* Switched to LGPLv3.libassuan-1.0.2Werner Koch2007-07-051-4/+2
|
* Various minor changes for W32Werner Koch2007-06-121-4/+10
|
* Fixed problems Nelson H. F. Beebe reported when doing build tests on severalWerner Koch2006-09-191-1/+1
| | | | | platforms.
* Preparing a new releaselibassuan-0.9.0Werner Koch2006-09-141-8/+17
|
* More tweaks for descriptor passing.Werner Koch2006-09-131-37/+33
| | | | | gpg-connect-agent may now be used as a test program.
* Integrated descriptor passing.Werner Koch2006-09-121-3/+4
|
* Changes to support gpg-error style error codes.Werner Koch2006-09-061-3/+3
|
* Fixed and clarified copyright noticesWerner Koch2005-10-241-1/+2
|
* * configure.ac: Define HAVE_W32_SYSTEM and HAVE_DOSISH_SYSTEM.Werner Koch2004-12-071-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-23 Timo Schulz <[email protected]>Timo Schulz2004-11-241-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.
* * assuan-socket-server.c (accept_connection_bottom): Save the pidWerner Koch2004-04-211-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.
* * assuan-socket-server.c, assuan-socket-connect.c: IncludesWerner Koch2004-04-191-0/+1
| | | | | | sys/types.h. Reported by Michael Nottebrock. * assuan-domain-connect.c: Ditto.
* 2002-11-23 Neal H. Walfield <[email protected]>Neal Walfield2002-11-231-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-20 Neal H. Walfield <[email protected]>Neal Walfield2002-11-211-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.
* Changed the lincese for Assuan to LGPL.V0-3-10NEWPG-0-3-10Werner Koch2002-07-301-12/+12
|
* * assuan-util.c (assuan_set_io_func): New.V0-3-8V0-3-7NEWPG-0-3-8NEWPG-0-3-7Werner Koch2002-05-231-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.
* A bunch of new features. Allow empty responses on an inquiry.Werner Koch2002-02-181-0/+11
|
* * assuan-buffer.c (writen,readline) [USE_GNU_PT]: Use pth_read/write.Werner Koch2002-02-121-0/+7
| | | | | * assuan-socket-server.c (accept_connection) [USE_GNU_PTH]: Ditto.
* * assuan-buffer.c (_assuan_read_line): Add output logging.Werner Koch2002-01-191-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.