aboutsummaryrefslogtreecommitdiffstats
path: root/assuan/assuan-defs.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removed assuan because we now use libassuanWerner Koch2003-04-291-147/+0
|
* Updated from latest NewPG projectWerner Koch2003-01-091-3/+6
|
* Changed the lincese for Assuan to LGPL.Werner Koch2002-07-301-13/+13
|
* * assuan-util.c (assuan_set_io_func): New.Werner Koch2002-05-231-0/+5
| | | | | | | | | * 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-7/+3
|
* * assuan-connect.c: Move all except assuan_get_pid to...Werner Koch2002-01-211-1/+8
| | | | | | | | | | | | | | | | | * 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.
* * assuan.h: Added Invalid Option error code.Werner Koch2002-01-201-0/+1
| | | | | | | | | * 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.
* * assuan-buffer.c (_assuan_read_line): Add output logging.Werner Koch2002-01-191-3/+12
| | | | | | | | | | | | | | | | | | | (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.
* * assuan-handler.c (assuan_set_okay_line): New.Werner Koch2002-01-101-0/+1
| | | | | (process_request): And use it here.
* assuan/Marcus Brinkmann2001-12-131-1/+1
| | | | | | | | | | | | | | | | | | | | | 2001-12-14 Marcus Brinkmann <[email protected]> * assuan-defs.h (LINELENGTH): Define as ASSUAN_LINELENGTH. assuan.h: Define ASSUAN_LINELENGTH. agent/ 2001-12-14 Marcus Brinkmann <[email protected]> * query.c (LINELENGTH): Removed. (agent_askpin): Use ASSUAN_LINELENGTH, not LINELENGTH. sm/ 2001-12-14 Marcus Brinkmann <[email protected]> * call-agent.c (LINELENGTH): Removed. (gpgsm_agent_pksign): Use ASSUAN_LINELENGTH, not LINELENGTH. (gpgsm_agent_pkdecrypt): Likewise.
* * assuan-connect.c (assuan_pipe_connect): Implemented the initalWerner Koch2001-12-121-2/+4
| | | | | | | | | | | | | | | 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.
* assuan-connect.c (assuan_pipe_connect): Add more error reporting.Werner Koch2001-12-051-0/+3
| | | | | | | assuan-client.c: New. assuan-inquire.c: New. assuan-handler.c (process_request): Check for nested invocations.
* * assuan-handler.c (assuan_register_input_notify): New.Werner Koch2001-11-271-1/+3
| | | | | (assuan_register_output_notify): New.
* * assuan-handler.c (assuan_register_bye_notify)Werner Koch2001-11-251-0/+4
| | | | | | | (assuan_register_reset_notify) (assuan_register_cancel_notify): New and call them from the standard handlers.
* * assuan-connect.c (assuan_get_pid): New - actually done by Marcus in gpgme.Werner Koch2001-11-241-1/+1
| | | | | Set the line length back to the old value.
* * assuan-buffer.c (_assuan_read_line): Deal with reads of moreWerner Koch2001-11-241-1/+5
| | | | | | than a line. * assuan-defs.h: Add space in the context for this.
* Added code for data lines. For ease of implementation we need glibcWerner Koch2001-11-191-0/+9
| | | | | (custom streams).
* Allow to store an arbitrary pointer in the context.Werner Koch2001-11-191-0/+2
| | | | | Added assuan_write_status().
* * assuan-connect.c (assuan_pipe_connect): New function.Marcus Brinkmann2001-11-191-0/+2
| | | | | | (assuan_pipe_disconnect): Likewise. * assuan-defs.h (struct assuan_context_s): New member PID.
* Assuan server mode is now basically usableWerner Koch2001-11-071-2/+26
|
* First chunk of code for the Assuan libraryWerner Koch2001-11-061-0/+73