diff options
Diffstat (limited to 'src/assuan.h.in')
-rw-r--r-- | src/assuan.h.in | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/assuan.h.in b/src/assuan.h.in index 9ff263f..7aae362 100644 --- a/src/assuan.h.in +++ b/src/assuan.h.in @@ -164,8 +164,10 @@ typedef unsigned int assuan_flag_t; /* This flag changes assuan_transact to return comment lines via the status callback. The default is to skip comment lines. */ #define ASSUAN_CONVEY_COMMENTS 4 -/* This flags disables logging for one context. */ +/* This flag disables logging for one context. */ #define ASSUAN_NO_LOGGING 5 +/* This flag forces a connection close. */ +#define ASSUAN_FORCE_CLOSE 6 /* For context CTX, set the flag FLAG to VALUE. Values for flags are usually 1 or 0 but certain flags might allow for other values; @@ -402,7 +404,7 @@ gpg_error_t assuan_client_parse_response (assuan_context_t ctx, int *off); /*-- assuan-client.c --*/ -gpg_error_t +gpg_error_t assuan_transact (assuan_context_t ctx, const char *command, gpg_error_t (*data_cb)(void *, const void *, size_t), @@ -453,10 +455,10 @@ gpg_error_t assuan_sock_init (void); void assuan_sock_deinit (void); int assuan_sock_close (assuan_fd_t fd); assuan_fd_t assuan_sock_new (int domain, int type, int proto); -int assuan_sock_connect (assuan_fd_t sockfd, +int assuan_sock_connect (assuan_fd_t sockfd, struct sockaddr *addr, int addrlen); int assuan_sock_bind (assuan_fd_t sockfd, struct sockaddr *addr, int addrlen); -int assuan_sock_get_nonce (struct sockaddr *addr, int addrlen, +int assuan_sock_get_nonce (struct sockaddr *addr, int addrlen, assuan_sock_nonce_t *nonce); int assuan_sock_check_nonce (assuan_fd_t fd, assuan_sock_nonce_t *nonce); |