2002-02-28 11:05:57 +00:00
|
|
|
2002-02-27 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-client.c (assuan_transact): Add 2 more arguments to
|
|
|
|
support status lines. Passing NULL yields the old behaviour.
|
|
|
|
|
|
|
|
* assuan-handler.c (process_request): Flush data lines send
|
|
|
|
without using the data fp.
|
|
|
|
|
2002-02-18 20:45:52 +00:00
|
|
|
2002-02-14 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-inquire.c (assuan_inquire): Check for a cancel command
|
|
|
|
and return ASSUAN_Canceled. Allow for non-data inquiry.
|
|
|
|
|
|
|
|
* assuan.h: Add a few token specific error codes.
|
|
|
|
|
|
|
|
2002-02-13 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-defs.h (assuan_context_s): New var CLIENT_PID.
|
|
|
|
* assuan-pipe-server.c (_assuan_new_context): set default value.
|
|
|
|
* assuan-socket-server.c (accept_connection): get the actual pid.
|
|
|
|
|
2002-02-12 20:41:34 +00:00
|
|
|
2002-02-12 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-buffer.c (writen,readline) [USE_GNU_PT]: Use pth_read/write.
|
|
|
|
* assuan-socket-server.c (accept_connection) [USE_GNU_PTH]: Ditto.
|
|
|
|
|
2002-02-01 19:50:01 +00:00
|
|
|
2002-02-01 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* Makefile.am (MOSTLYCLEANFILES): New variable.
|
|
|
|
|
2002-01-23 16:00:48 +00:00
|
|
|
2002-01-23 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-socket-connect.c (LOGERRORX): and removed typo.
|
|
|
|
|
2002-01-22 15:44:24 +00:00
|
|
|
2002-01-22 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* assuan-socket-connect.c (LOGERRORX): Reverse arguments to fputs.
|
|
|
|
|
2002-01-21 12:03:14 +00:00
|
|
|
2002-01-21 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-connect.c: Move all except assuan_get_pid to...
|
|
|
|
* 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-20 16:49:34 +00:00
|
|
|
2002-01-20 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan.h: Added Invalid Option error code.
|
|
|
|
|
|
|
|
* assuan-handler.c (std_handler_option): New.
|
|
|
|
(std_cmd_tbl): Add OPTION as standard command.
|
|
|
|
(assuan_register_option_handler): New.
|
|
|
|
(dispatch_command): Use case insensitive matching as a fallback.
|
|
|
|
(my_strcasecmp): New.
|
|
|
|
|
2002-01-19 18:20:15 +00:00
|
|
|
2002-01-19 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-buffer.c (_assuan_read_line): Add output logging.
|
|
|
|
(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.
|
|
|
|
|
2002-01-14 12:13:18 +00:00
|
|
|
2002-01-14 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-client.c (_assuan_read_from_server): Skip spaces after
|
|
|
|
the keyword.
|
|
|
|
|
2002-01-10 19:46:04 +00:00
|
|
|
2002-01-03 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-handler.c (assuan_set_okay_line): New.
|
|
|
|
(process_request): And use it here.
|
|
|
|
|
|
|
|
2002-01-02 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-inquire.c (init_membuf,put_membuf,get_membuf): Apply a
|
|
|
|
hidden 0 behind the buffer so that the buffer can be used as a
|
|
|
|
string in certain contexts.
|
|
|
|
|
2001-12-19 00:18:11 +00:00
|
|
|
2001-12-14 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
2001-12-19 00:20:55 +00:00
|
|
|
* assuan-connect.c (assuan_pipe_connect): New argument
|
|
|
|
FD_CHILD_LIST. Don't close those fds.
|
|
|
|
* assuan.h: Likewise for prototype.
|
2001-12-19 00:18:11 +00:00
|
|
|
|
2001-12-14 19:35:56 +00:00
|
|
|
2001-12-14 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-listen.c (assuan_close_input_fd): New.
|
|
|
|
(assuan_close_output_fd): New.
|
|
|
|
* assuan-handler.c (std_handler_reset): Always close them after a
|
|
|
|
reset command.
|
|
|
|
(std_handler_bye): Likewise.
|
|
|
|
|
2001-12-14 01:23:07 +00:00
|
|
|
2001-12-14 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* assuan-buffer.c (_assuan_read_line): New variable ATTICLEN, use
|
2001-12-14 01:28:22 +00:00
|
|
|
it to save the length of the attic line.
|
2001-12-14 01:23:07 +00:00
|
|
|
Rediddle the code a bit to make it more clear what happens.
|
|
|
|
|
2001-12-13 23:20:02 +00:00
|
|
|
2001-12-14 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* assuan-defs.h (LINELENGTH): Define as ASSUAN_LINELENGTH.
|
|
|
|
assuan.h: Define ASSUAN_LINELENGTH.
|
|
|
|
|
|
|
|
2001-12-13 Marcus Brinkmann <marcus@g10code.de>
|
2001-12-13 20:16:21 +00:00
|
|
|
|
|
|
|
* assuan-buffer.c (assuan_read_line): Fix order of execution to
|
|
|
|
get correct return values.
|
|
|
|
|
|
|
|
2001-12-13 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-handler.c (assuan_get_active_fds): Fixed silly bug,
|
|
|
|
pretty obvious that nobody ever tested this function.
|
|
|
|
|
2001-12-12 09:17:23 +00:00
|
|
|
2001-12-12 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-connect.c (assuan_pipe_connect): Implemented the inital
|
|
|
|
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-05 23:45:01 +00:00
|
|
|
2001-12-04 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-connect.c (assuan_pipe_connect): Add more error reporting.
|
|
|
|
* assuan-client.c: New.
|
|
|
|
|
|
|
|
* assuan-inquire.c: New.
|
|
|
|
* assuan-handler.c (process_request): Check for nested invocations.
|
|
|
|
|
2001-11-27 17:39:09 +00:00
|
|
|
2001-11-27 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-handler.c (assuan_register_input_notify): New.
|
|
|
|
(assuan_register_output_notify): New.
|
|
|
|
|
2001-11-26 09:07:11 +00:00
|
|
|
2001-11-26 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan.h: Added more status codes.
|
|
|
|
|
2001-11-25 14:53:39 +00:00
|
|
|
2001-11-25 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* assuan-handler.c (assuan_register_bye_notify)
|
|
|
|
(assuan_register_reset_notify)
|
|
|
|
(assuan_register_cancel_notify): New and call them from the
|
|
|
|
standard handlers.
|
2001-11-25 16:52:42 +00:00
|
|
|
(assuan_process): Moved bulk of function to ..
|
|
|
|
(process_request): .. new.
|
|
|
|
(assuan_process_next): One shot version of above.
|
|
|
|
(assuan_get_active_fds): New.
|
2001-11-25 14:53:39 +00:00
|
|
|
|
2001-11-24 21:10:22 +00:00
|
|
|
2001-11-24 Werner Koch <wk@gnupg.org>
|
|
|
|
|
2001-11-24 21:20:22 +00:00
|
|
|
* assuan-connect.c (assuan_get_pid): New.
|
|
|
|
|
2001-11-24 21:10:22 +00:00
|
|
|
* assuan-buffer.c (_assuan_read_line): Deal with reads of more
|
|
|
|
than a line.
|
|
|
|
* assuan-defs.h: Add space in the context for this.
|
2001-11-24 22:20:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
***********************************************************
|
|
|
|
* Please note that Assuan is maintained as part of GnuPG. *
|
|
|
|
* You may find it source-copied in other packages. *
|
|
|
|
***********************************************************
|
2001-11-24 21:10:22 +00:00
|
|
|
|
2002-01-10 19:46:04 +00:00
|
|
|
Copyright 2001, 2002 Free Software Foundation, Inc.
|
2001-11-24 22:20:00 +00:00
|
|
|
|
|
|
|
This file is free software; as a special exception the author gives
|
|
|
|
unlimited permission to copy and/or distribute it, with or without
|
|
|
|
modifications, as long as this notice is preserved.
|
2001-11-24 21:10:22 +00:00
|
|
|
|
2001-11-24 22:20:00 +00:00
|
|
|
This file is distributed in the hope that it will be useful, but
|
|
|
|
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
|
|
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|