aboutsummaryrefslogtreecommitdiffstats
path: root/assuan/assuan-handler.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removed assuan because we now use libassuanWerner Koch2003-04-291-708/+0
|
* Changed the lincese for Assuan to LGPL.Werner Koch2002-07-301-13/+33
|
* * assuan-client.c (assuan_transact): Add 2 more arguments toWerner Koch2002-02-281-1/+7
| | | | | | | support status lines. Passing NULL yields the old behaviour. * assuan-handler.c (process_request): Flush data lines send without using the data fp.
* * assuan.h: Added Invalid Option error code.Werner Koch2002-01-201-2/+87
| | | | | | | | | * 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-1/+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.
* * assuan-handler.c (assuan_set_okay_line): New.Werner Koch2002-01-101-1/+35
| | | | | (process_request): And use it here.
* * assuan-listen.c (assuan_close_input_fd): New.Werner Koch2001-12-141-0/+4
| | | | | | | | (assuan_close_output_fd): New. * assuan-handler.c (std_handler_reset): Always close them after a reset command. (std_handler_bye): Likewise.
* * util.h (digitp, hexdigitp): New ctype like macros.Werner Koch2001-12-141-1/+2
| | | | | | | | (atoi_1,atoi_2,atoi_4,xtoi_1,xtoi_2): New. * command.c: Removed the conversion macros as they are now in ../common/util.h.
* 2001-12-13 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-12-131-1/+1
| | | | | | | | | | | * assuan-buffer.c (assuan_read_line): Fix order of execution to get correct return values. 2001-12-13 Werner Koch <[email protected]> * assuan-handler.c (assuan_get_active_fds): Fixed silly bug, pretty obvious that nobody ever tested this function.
* Fixed INPUT/OUTPUT commandWerner Koch2001-12-131-3/+4
|
* * assuan-connect.c (assuan_pipe_connect): Implemented the initalWerner Koch2001-12-121-5/+5
| | | | | | | | | | | | | | | 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-0/+24
| | | | | (assuan_register_output_notify): New.
* (assuan_process): Moved bulk of function to ..Werner Koch2001-11-251-49/+112
| | | | | | | | (process_request): .. new. (assuan_process_next): One shot version of above. (assuan_get_active_fds): New. NOTE - this has not been tested yet.
* * assuan-handler.c (assuan_register_bye_notify)Werner Koch2001-11-251-2/+36
| | | | | | | (assuan_register_reset_notify) (assuan_register_cancel_notify): New and call them from the standard handlers.
* Added code for data lines. For ease of implementation we need glibcWerner Koch2001-11-191-16/+49
| | | | | (custom streams).
* Allow to store an arbitrary pointer in the context.Werner Koch2001-11-191-0/+40
| | | | | Added assuan_write_status().
* Assuan server mode is now basically usableWerner Koch2001-11-071-42/+147
|
* First chunk of code for the Assuan libraryWerner Koch2001-11-061-0/+253