From a294204163cde65bbf14be4cb0f789b0f3dc1967 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Wed, 2 Dec 2009 18:35:34 +0000 Subject: src/ 2009-12-02 Marcus Brinkmann * Makefile.am (common_sources): Remove assuan-client.c. * assuan-client.c: File removed. * assuan.h (ASSUAN_RESPONSE_ERROR, ASSUAN_RESPONSE_OK) (ASSUAN_RESPONSE_STATUS, ASSUAN_RESPONSE_INQUIRE) (ASSUAN_RESPONSE_STATUS): New macros. (assuan_response_t): New type. (assuan_client_read_response, assuan_client_parse_response): New prototypes. * libassuan.def, libassuan.vers: Add assuan_client_read_response, assuan_client_parse_response. * assuan-client.c (xtoi_1, xtoi_2, assuan_transact) (_assuan_read_from_server): Moved to ... * client.c: ... here, with updates to use new functions and types. Include . (assuan_client_read_response, assuan_client_parse_response): New functions. * assuan-defs.h (_assuan_read_from_server): Use assuan_response_t. * assuan-pipe-connect.c (initial_handshake): Use assuan_response_t and ASSUAN_RESPONSE_OK. * assuan-socket-connect.c (assuan_socket_connect): Likewise. --- src/libassuan.vers | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libassuan.vers') diff --git a/src/libassuan.vers b/src/libassuan.vers index f7b8559..923db6a 100644 --- a/src/libassuan.vers +++ b/src/libassuan.vers @@ -24,6 +24,8 @@ LIBASSUAN_1.0 { global: assuan_accept; assuan_begin_confidential; + assuan_client_read_response; + assuan_client_parse_response; assuan_close_input_fd; assuan_close_output_fd; assuan_command_parse_fd; -- cgit v1.2.1