aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 2005-09-08 Marcus Brinkmann <[email protected]>Marcus Brinkmann2005-09-082-0/+7
| | | | | | * assuan-pipe-connect.c (assuan_pipe_connect2): Add missing declaration of PID.
* * mkerrors: Include config.h into assuan-errors.c. This isWerner Koch2005-08-095-104/+272
| | | | | | | | | | | required so that assuan.h knows about the W32 macro. * assuan.h [_ASSUAN_EXT_SYM_PREFIX]: New. * assuan-io.c [_ASSUAN_NO_PTH]: New. * assuan-pipe-connect.c (fix_signals) [_ASSUAN_NO_FIXED_SIGNALS]: New. (assuan_pipe_connect2) [_ASSUAN_USE_DOUBLE_FORK]: Use double fork. (fix_signals) [_ASSUAN_USE_DOUBLE_FORK]: Do not wait..
* Preparing for 0.6.10libassuan-0-6-10Werner Koch2005-06-202-3/+3
|
* * assuan-util.c (assuan_set_flag, assuan_get_flag): New.Werner Koch2005-05-225-7/+74
| | | | | | | | | * assuan-defs.h (struct assuan_context_s): New field flags. * assuan.h (assuan_flag_t): New with one flag value ASSUAN_NO_WAITPID for now. * assuan-pipe-connect.c (do_finish): Take care of the no_waitpid flag.
* (_assuan_calloc): Avoid integer overflow.Werner Koch2005-04-042-3/+18
|
* (struct assuan_io): Renamed elements READ andWerner Koch2005-03-225-5/+19
| | | | | | WRITE to READFNC and WRITEFNC to avoid problems with read defined as macros. Changed callers. Noted by Ville Skytt��.
* Switched to automake 1.9.libassuan-0-6-9Werner Koch2004-12-222-21/+8
|
* (assuan_socket_connect): Allow for aWerner Koch2004-12-202-2/+13
| | | | | drive letter in the path.
* (assuan_init_pipe_server) [W32]: Map fileWerner Koch2004-12-192-2/+21
| | | | | descriptors using _get_osfhandle.
* 2004-12-19 Moritz Schulte <[email protected]>Moritz Schulte2004-12-192-1/+6
| | | | | | * assuan-pipe-connect.c (assuan_pipe_connect2): Removed "`" character at beginning of line 532.
* More W32 fixesWerner Koch2004-12-182-17/+21
|
* * autogen.sh: Add Option --build-w32.Werner Koch2004-12-186-28/+363
| | | | | | | | | | | * assuan-logging.c (_assuan_w32_strerror): New. * assuan-defs.h (w32_strerror): new. * assuan-pipe-connect.c (assuan_pipe_connect2, fix_signals): Factored signal code out to new function. (build_w32_commandline, create_inheritable_pipe): New. Taken from gnupg 1.9. (assuan_pipe_connect2) [W32]: Implemented for W32.
* * configure.ac: Define HAVE_W32_SYSTEM and HAVE_DOSISH_SYSTEM.Werner Koch2004-12-0711-28/+53
| | | | | | | | | | 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.
* include/sys/types.hWerner Koch2004-11-272-0/+6
|
* Avoid warnings about unknown pragmas.Werner Koch2004-11-263-9/+17
|
* * assuan-logging.c (_assuan_log_printf): New.Werner Koch2004-11-246-49/+71
| | | | | | | | | | | * assuan-domain-connect.c (LOG): Removed and replaced all callers by _assuan_log_printf. This is needed for C89 and gcc 2.95 which both don't have C99 style variable arg macros. * assuan-pipe-connect.c (LOG): Ditto. * assuan-socket-connect.c (LOG): Ditto. * assuan-socket.c[!_WIN32]: Fixed includes.
* Small API update and Windows fixesWerner Koch2004-11-244-11/+23
|
* 2004-11-23 Timo Schulz <[email protected]>Timo Schulz2004-11-2418-106/+391
| | | | | | | | | | | | | | | | | | * 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-connect.c (LOG): Fixed macro to print not only theWerner Koch2004-11-164-10/+15
| | | | | | prefix. * assuan-domain-connect.c, assuan-socket-connect.c (LOG): Ditto.
* * assuan-socket-connect.c: Define SUN_LEN, AF_LOCAL and PF_LOCALWerner Koch2004-10-023-2/+39
| | | | | | if they are not available. * assuan-domain-connect.c: Define PF_LOCAL and AF_LOCAL if needed.
* 2004-06-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-06-232-0/+7
| | | | | | | | | | * configure.ac: Check for <sys/uio.h>. src/ 2004-06-23 Marcus Brinkmann <[email protected]> * assuan-domain-connect.c [HAVE_SYS_UIO_H]: Include <sys/uio.h>.
* * assuan-listen.c (assuan_set_hello_line, assuan_accept): AllowWerner Koch2004-05-114-27/+96
| | | | | | | | for multi line hello strings. * assuan-buffer.c (_assuan_write_line): New with parts of .. (assuan_write_line): .. factored out.
* * assuan-socket-connect.c: Include string.h.Werner Koch2004-04-294-1/+8
| | | | | * assuan-logging.c: Ditto.
* 2004-04-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-04-222-1/+5
| | | | | * libassuan.m4: Quote first argument to AC_DEFUN.
* * assuan-socket-server.c (accept_connection_bottom): Save the pidWerner Koch2004-04-217-13/+41
| | | | | | | | | | | | | 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-195-2/+16
| | | | | | sys/types.h. Reported by Michael Nottebrock. * assuan-domain-connect.c: Ditto.
* Include <errno.h>. Reported by Bernd Kuhls.Werner Koch2004-03-142-0/+5
|
* About to release 0.6.4libassuan-0-6-4Werner Koch2004-02-202-6/+4
|
* (assuan_get_data_fp): Fail with ENOSYS if weWerner Koch2004-02-182-0/+10
| | | | | can't implement this.
* (memrchr): Fixed implementation. Taken from gpgme.Werner Koch2004-02-152-6/+14
|
* Removed the unneeded alloca.h.Werner Koch2004-02-132-1/+4
|
* (assuan_pipe_connect2): New as anWerner Koch2004-01-243-16/+31
| | | | | extension of assuan_pipe_connect. Made the latter call this one.
* (_assuan_cookie_write_data): Return theWerner Koch2004-01-143-4/+16
| | | | | | requested size to indicate successful operation. Fixes a spurious bug we previously fixed using fflush().
* Last typo fix.Werner Koch2003-12-181-1/+1
|
* Getting ready for a new releaseWerner Koch2003-12-182-22/+38
|
* * assuan-buffer.c: Changed formatting of the debug output prefix.Werner Koch2003-12-166-22/+73
| | | | | | | | * assuan-util.c (assuan_set_log_stream): Set global log stream if it has not been done yet. * assuan-logging.c (_assuan_set_default_log_stream): New. (assuan_set_assuan_log_prefix): New.
* * funopen.c (_assuan_funopen): Renamed from funopen, to keep theWerner Koch2003-12-113-12/+40
| | | | | | | name space clean and avoid duplicate definitions if another library uses the same replacement. * assuan-defs.h (funopen): Renamed prototype and add a macro.
* doc typo fixesWerner Koch2003-12-082-1/+5
|
* (process_request): Kludge to print better errorWerner Koch2003-11-124-59/+109
| | | | | messages for gpg-error enabled programs.
* 2003-11-11 Moritz Schulte <[email protected]>Moritz Schulte2003-11-112-3/+8
| | | | | | * assuan-socket-connect.c (assuan_socket_connect): Fix computation of socket address length.
* (assuan_inquire): Increase length of cmdbuf toWerner Koch2003-08-132-2/+7
| | | | | the Assuan limit.
* * lgpl.texi: New.libassuan-0-6-0Werner Koch2003-08-061-1/+1
| | | | | | | * gpl.texi: Removed. * assuan.texi: Dropped requirement vor invariant sections, front- and back-cover texts. Include lgpg.texi.
* * mkerrors: Kludge to print libgpg-error values in an easierWerner Koch2003-07-033-3/+18
| | | | | readable way.
* * libassuan.m4: New. Based on libgrypt.m4.Werner Koch2003-04-296-53/+142
| | | | | | | | | | | * Makefile.am (m4data_DATA): New. * assuan.h (AssuanCommand): Removed. * assuan-handler.c: Remove the cmd_id element, (assuan_register_command): Likewise. Note that semantics changed. (_assuan_register_std_commands): Adjusted.
* 2003-02-22 Neal H. Walfield <[email protected]>Neal Walfield2003-02-222-1/+5
| | | | | * Makefile.am (bin_SCRIPTS): Renamed from bin_PROGRAMS.
* /Neal Walfield2003-02-186-0/+150
| | | | | | | | | | | | | | | | | | | 2003-02-18 Neal H. Walfield <[email protected]> * configure.ac: Fix typo. (AC_CONFIG_FILES): Remove common/Makefile.am. * common: Remove directory. src/ 2003-02-18 Neal H. Walfield <[email protected]> * Makefile.am (libassuan_a_LIBADD): New variable. * funopen.c: Move from ../common. * isascii.c: Likewise. * memrchr.c: Likewise. * putc_unlocked.c: Likewise.
* /Neal Walfield2003-02-182-27/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-18 Neal H. Walfield <[email protected]> * common: New directory. * Makefile.am (SUBDIRS): Add common. * configure.ac: Check for funopen. If not present, check for fopencookie and implement it in terms of that. Otherwise, fail. (AC_CONFIG_FILES): Add common/Makefile. src/ 2003-02-18 Neal H. Walfield <[email protected]> * assuan-handler.c (_IO_cookie_io_functions_t): Remove. (cookie_io_functions_t): Remove. (fopencookie): Remove prototype. (assuan_get_data_fp): Use funopen, not fopencookie. common/ 2003-02-18 Neal H. Walfield <[email protected]> * Makefile.am: New file. * funopen.c: New file. * isascii.c: Imported from newpg. * memrchr.c: Likewise. * putc_unlocked.c: Likewise.
* /Neal Walfield2003-02-183-0/+120
| | | | | | | | | | | | | | | | 2003-02-18 Neal H. Walfield <[email protected]> * configure.ac (AC_CONFIG_FILES): Add src/libassuan-config. (LIBASSUAN_CONFIG_LIBS, LIBASSUAN_CONFIG_CFLAGS): New variables. AC_SUBST them. src/ 2003-02-18 Neal H. Walfield <[email protected]> * libassuan-config.in: New file. * Makefile.am (bin_PROGRAMS): New variable.
* 2003-02-17 Neal H. Walfield <[email protected]>Neal Walfield2003-02-182-0/+5
| | | | | * .cvsignore: New file.
* 2003-02-17 Neal H. Walfield <[email protected]>Neal Walfield2003-02-1812-208/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (lib_LIBRARIES): Use this instead of . . . (noinst_LIBRARIES): . . . this. (include_HEADERS): New variable. (libassuan_a_SOURCES): Remove assuan.h, add assuan-logging.c. * assuan.h (assuan_set_assuan_log_stream): New prototype. (assuan_get_assuan_log_stream): Likewise. (assuan_get_assuan_log_prefix): Likewise. * assuan-logging.c: New file. * assuan-buffer.c [HAVE_JNLIB_LOGGIN]: Do not include "../jnlib/logging.h". (my_log_prefix): Remove function. (_assuan_read_line): Use assuan_get_assuan_log_prefix in lieu of my_log_prefix. (assuan_write_line): Likewise. (_assuan_cookie_write_data): Likewise. (_assuan_cookie_write_flush): Likewise. * assuan-domain-connect.c (LOGERROR, LOGERROR1, LOGERROR2, LOGERRORX): Remove. (LOG): New macro. (domain_reader): Use it. (domain_writer): Likewise. (domain_sendfd): Likewise. (domain_receivefd): Likewise. (_assuan_domain_init): Likewise. (assuan_domain_connect): Likewise. * assuan-pipe-connect.c [HAVE_JNLIB_LOGGIN]: Do not include "../jnlib/logging.h". (LOGERROR, LOGERROR1, LOGERROR2, LOGERRORX): Remove. (LOG): New macro. (assuan_pipe_connect): Use it. * assuan-socket-connect.c [HAVE_JNLIB_LOGGIN]: Do not include "../jnlib/logging.h". (LOGERROR, LOGERROR1, LOGERROR2, LOGERRORX): Remove. (LOG): New macro. (assuan_socket_connect): Use it. (socket_reader): Remove dead code. (socket_writer): Likewise. * assuan-util.c [HAVE_JNLIB_LOGGIN]: Do not include "../jnlib/logging.h". (_assuan_log_sanitized_string): Use assuan_get_assuan_log_stream, not jnlib.