--- amp.h 2001/08/23 12:42:49 1.5
+++ amp.h 2001/08/23 12:43:26 1.6
@@ -9,14 +9,14 @@
typedef struct
{
- int (*listen) (int fd, int backlog);
- int (*accept) (int fd, struct sockaddr* addr, socklen_t* addrlen);
- int (*bind) (int fd, const struct sockaddr* addr, socklen_t addrlen);
+ int (*listen)(int fd, int backlog);
+ int (*accept)(int fd, struct sockaddr* addr, socklen_t* addrlen);
+ int (*bind)(int fd, const struct sockaddr* addr, socklen_t addrlen);
int (*connect)(int fd, const struct sockaddr* name, socklen_t namelen);
- ssize_t (*read) (int fd, void* buf, size_t nbytes);
- ssize_t (*readv) (int fd, const struct iovec* iov, int iovcnt);
- ssize_t (*write) (int fd, const void* buf, size_t nbytes);
- ssize_t (*writev) (int fd, const struct iovec* iov, int iovcnt);
+ ssize_t (*read)(int fd, void* buf, size_t nbytes);
+ ssize_t (*readv)(int fd, const struct iovec* iov, int iovcnt);
+ ssize_t (*write)(int fd, const void* buf, size_t nbytes);
+ ssize_t (*writev)(int fd, const struct iovec* iov, int iovcnt);
ssize_t (*send)(int s, const void* msg, size_t len, int flags);
ssize_t (*sendto)(int s, const void* msg, size_t len, int flags,
const struct sockaddr* to, socklen_t tolen);
|