@@ -101,25 +101,25 @@ int udt_send (socket_t, char *, int, int);
101
101
* Receive a file from the socket
102
102
*
103
103
* @param socket_t The socket to receive from
104
- * @param void* Pointer to the file to store incoming data
104
+ * @param int The file descriptor to a writable open file
105
105
* @param int64_t The offset position to store. After transfer, contains
106
106
* new offset
107
107
* @param int64_t The total size to be received
108
108
* @param int The size of data block
109
109
* @return int64_t Size of data sent, -1 on error
110
110
*/
111
- int64_t udt_recvfile (socket_t , void * , int64_t * , int64_t , int );
111
+ int64_t udt_recvfile (socket_t , int , int64_t * , int64_t , int );
112
112
113
113
/**
114
114
* Send a file to the socket
115
115
*
116
116
* @param socket_t The socket to send to
117
- * @param void* The file buffer to send
117
+ * @param int The file descriptor to a readable open file
118
118
* @param int64_t The offset position to read data
119
119
* @param int64_t The total size to be sent
120
120
* @param int The size of data block
121
121
* @return int64_t Size of data sent, -1 on error
122
122
*/
123
- int64_t udt_sendfile (socket_t , void * , int64_t , int64_t , int );
123
+ int64_t udt_sendfile (socket_t , int , int64_t , int64_t , int );
124
124
125
125
#endif /* end of include guard: UDT_H_JDNRQTZQ */
0 commit comments