aboutsummaryrefslogtreecommitdiffstats
path: root/gpgme/ath.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gpgme/ath.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpgme/ath.h b/gpgme/ath.h
index 07d19ad9..04dfb285 100644
--- a/gpgme/ath.h
+++ b/gpgme/ath.h
@@ -69,7 +69,7 @@ ssize_t ath_select (int nfd, fd_set *rset, fd_set *wset, fd_set *eset,
struct timeval *timeout);
ssize_t ath_waitpid (pid_t pid, int *status, int options);
int ath_accept (int s, struct sockaddr *addr, socklen_t *length_ptr);
-int ath_connect (int s, struct sockaddr *addr, socklen_t length);
+int ath_connect (int s, const struct sockaddr *addr, socklen_t length);
int ath_sendmsg (int s, const struct msghdr *msg, int flags);
int ath_recvmsg (int s, struct msghdr *msg, int flags);
@@ -87,7 +87,7 @@ struct ath_ops
struct timeval *timeout);
ssize_t (*waitpid) (pid_t pid, int *status, int options);
int (*accept) (int s, struct sockaddr *addr, socklen_t *length_ptr);
- int (*connect) (int s, struct sockaddr *addr, socklen_t length);
+ int (*connect) (int s, const struct sockaddr *addr, socklen_t length);
int (*sendmsg) (int s, const struct msghdr *msg, int flags);
int (*recvmsg) (int s, struct msghdr *msg, int flags);
};