diff options
author | Timo Schulz <[email protected]> | 2004-11-24 07:30:08 +0000 |
---|---|---|
committer | Timo Schulz <[email protected]> | 2004-11-24 07:30:08 +0000 |
commit | c36b96808391edf9211b1c60b00825f31be7a93c (patch) | |
tree | a0b446f425c02eea2d44dad2cbf461ff76f9ad11 /src/assuan-client.c | |
parent | * assuan-socket-connect.c (LOG): Fixed macro to print not only the (diff) | |
download | libassuan-c36b96808391edf9211b1c60b00825f31be7a93c.tar.gz libassuan-c36b96808391edf9211b1c60b00825f31be7a93c.zip |
2004-11-23 Timo Schulz <[email protected]>
* 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.
Diffstat (limited to 'src/assuan-client.c')
-rw-r--r-- | src/assuan-client.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/assuan-client.c b/src/assuan-client.c index d5c0ec8..212eb61 100644 --- a/src/assuan-client.c +++ b/src/assuan-client.c @@ -32,12 +32,12 @@ #define xtoi_2(p) ((xtoi_1(p) * 16) + xtoi_1((p)+1)) -AssuanError +assuan_error_t _assuan_read_from_server (ASSUAN_CONTEXT ctx, int *okay, int *off) { char *line; int linelen; - AssuanError rc; + assuan_error_t rc; *okay = 0; *off = 0; @@ -126,14 +126,14 @@ _assuan_read_from_server (ASSUAN_CONTEXT ctx, int *okay, int *off) * the one one returned by the server in error lines or from the * callback functions. **/ -AssuanError +assuan_error_t assuan_transact (ASSUAN_CONTEXT ctx, const char *command, - AssuanError (*data_cb)(void *, const void *, size_t), + assuan_error_t (*data_cb)(void *, const void *, size_t), void *data_cb_arg, - AssuanError (*inquire_cb)(void*, const char *), + assuan_error_t (*inquire_cb)(void*, const char *), void *inquire_cb_arg, - AssuanError (*status_cb)(void*, const char *), + assuan_error_t (*status_cb)(void*, const char *), void *status_cb_arg) { int rc, okay, off; |