diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-07-19 21:54:30 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-07-21 14:46:31 +0000 |
commit | b6b3cdbf2551d001478441576d55a14b764889fb (patch) | |
tree | 6806fd82beee0c647d022861abb7b28936623cba /toxcore/network.h | |
parent | 9a96bb9a5bb414afb137c094f987740581ecebda (diff) |
Synchronise parameter names in headers with those in the implementation.
Diffstat (limited to 'toxcore/network.h')
-rw-r--r-- | toxcore/network.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toxcore/network.h b/toxcore/network.h index 7f7cde60..276896b6 100644 --- a/toxcore/network.h +++ b/toxcore/network.h | |||
@@ -76,19 +76,19 @@ extern const Socket net_invalid_socket; | |||
76 | /** | 76 | /** |
77 | * Calls send(sockfd, buf, len, MSG_NOSIGNAL). | 77 | * Calls send(sockfd, buf, len, MSG_NOSIGNAL). |
78 | */ | 78 | */ |
79 | int net_send(Socket sockfd, const void *buf, size_t len); | 79 | int net_send(Socket sock, const void *buf, size_t len); |
80 | /** | 80 | /** |
81 | * Calls recv(sockfd, buf, len, MSG_NOSIGNAL). | 81 | * Calls recv(sockfd, buf, len, MSG_NOSIGNAL). |
82 | */ | 82 | */ |
83 | int net_recv(Socket sockfd, void *buf, size_t len); | 83 | int net_recv(Socket sock, void *buf, size_t len); |
84 | /** | 84 | /** |
85 | * Calls listen(sockfd, backlog). | 85 | * Calls listen(sockfd, backlog). |
86 | */ | 86 | */ |
87 | int net_listen(Socket sockfd, int backlog); | 87 | int net_listen(Socket sock, int backlog); |
88 | /** | 88 | /** |
89 | * Calls accept(sockfd, nullptr, nullptr). | 89 | * Calls accept(sockfd, nullptr, nullptr). |
90 | */ | 90 | */ |
91 | Socket net_accept(Socket sockfd); | 91 | Socket net_accept(Socket sock); |
92 | 92 | ||
93 | /** | 93 | /** |
94 | * return the amount of data in the tcp recv buffer. | 94 | * return the amount of data in the tcp recv buffer. |