aboutsummaryrefslogtreecommitdiffstats
path: root/src/assuan-connect.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-08-24Preparing 1.0.3Werner Koch1-1/+1
2007-07-082007-07-08 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-1/+5
* assuan-defs.h (struct assuan_context_s): Have full peercred structure for HAVE_SO_PEERCRED. * assuan-connect.c (assuan_get_peercred) [!HAVE_SO_PEERCRED]: Do not try to set PID, UID and GID.
2007-07-05Switched to LGPLv3.libassuan-1.0.2Werner Koch1-4/+2
2007-07-042007-07-04 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-2/+2
Change _WIN32 to HAVE_W32_SYSTEM for consistency. * assuan-defs.h (struct assuan_context_s): Have full peercred structure even if not HAVE_SO_PEERCRED, but not if HAVE_W32_SYSTEM.
2007-06-12Various minor changes for W32Werner Koch1-0/+2
2006-09-14Preparing a new releaselibassuan-0.9.0Werner Koch1-1/+21
2005-10-24Fixed and clarified copyright noticesWerner Koch1-1/+2
2004-12-18More W32 fixesWerner Koch1-1/+1
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-2/+5
* 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-1/+2
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.
2002-07-30Changed the lincese for Assuan to LGPL.V0-3-10NEWPG-0-3-10Werner Koch1-13/+13
2002-01-21* assuan-connect.c: Move all except assuan_get_pid to...Werner Koch1-201/+9
* assuan-pipe-connect.c: this. (assuan_pipe_disconnect): Removed. (do_finish, do_deinit): New (assuan_pipe_connect): and set them into the context. * assuan-socket-connect.c: New. * assuan-util.c (_assuan_log_sanitized_string): New. * assuan-pipe-server.c (assuan_init_pipe_server): Factored most code out to ... (_assuan_new_context): new func. (_assuan_release_context): New * assuan-connect.c (assuan_pipe_connect): Use the new functions.
2002-01-19* assuan-buffer.c (_assuan_read_line): Add output logging.Werner Koch1-3/+3
(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.
2001-12-19assuan/Marcus Brinkmann1-3/+14
2001-12-14 Marcus Brinkmann <[email protected]> * assuan-buffer.c (_assuan_read_line): New variable ATTICLEN, use it to save the length of the attic line. Rediddle the code a bit to make it more clear what happens. agent/ 2001-12-19 Marcus Brinkmann <[email protected]> * query.c (start_pinentry): Add new argument to assuan_pipe_connect. sm/ 2001-12-19 Marcus Brinkmann <[email protected]> * call-agent.c (start_agent): Add new argument to assuan_pipe_connect.
2001-12-12* assuan-connect.c (assuan_pipe_connect): Implemented the initalWerner Koch1-19/+22
handshake. * assuan-client.c (read_from_server): Renamed to (_assuan_read_from_server): this and made external. * assuan-listen.c (assuan_set_hello_line): New. (assuan_accept): Use a custom hello line is available. * assuan-buffer.c (assuan_read_line): New. (assuan_pending_line): New. (_assuan_write_line): Renamed to .. (assuan_write_line): this, made public and changed all callers.
2001-12-05assuan-connect.c (assuan_pipe_connect): Add more error reporting.Werner Koch1-15/+112
assuan-client.c: New. assuan-inquire.c: New. assuan-handler.c (process_request): Check for nested invocations.
2001-11-24* assuan-connect.c (assuan_get_pid): New - actually done by Marcus in gpgme.Werner Koch1-0/+6
Set the line length back to the old value.
2001-11-19 * assuan-connect.c (assuan_pipe_connect): Require NAME to be set.Marcus Brinkmann1-6/+2
Using ARGV[0] automatically is bad mojo.
2001-11-19 * assuan-connect.c (assuan_pipe_connect): New function.Marcus Brinkmann1-0/+106
(assuan_pipe_disconnect): Likewise. * assuan-defs.h (struct assuan_context_s): New member PID.
2001-11-07Assuan server mode is now basically usableWerner Koch1-19/+2
2001-11-06First chunk of code for the Assuan libraryWerner Koch1-0/+44