[vala] posix.vapi: add accept(2), connect(2), and listen(2)
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] posix.vapi: add accept(2), connect(2), and listen(2)
- Date: Sat, 31 Oct 2009 13:19:03 +0000 (UTC)
commit 4f1a6134e9dadacf71ee250ea44d98679862129e
Author: Michael 'Mickey' Lauer <mickey vanille-media de>
Date: Sat Oct 24 14:45:07 2009 +0200
posix.vapi: add accept(2), connect(2), and listen(2)
Signed-off-by: Michael 'Mickey' Lauer <mickey vanille-media de>
vapi/posix.vapi | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index f2267a3..2d75b06 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -1245,7 +1245,13 @@ namespace Posix {
[CCode (cheader_filename = "sys/socket.h")]
public const int AF_UNIX;
[CCode (cheader_filename = "sys/socket.h", sentinel = "")]
+ public int accept (int sfd, ... );
+ [CCode (cheader_filename = "sys/socket.h", sentinel = "")]
public int bind (int sockfd, ...);
+ [CCode (cheader_filename = "sys/socket.h", sentinel = "")]
+ public int connect(int sfd, ... );
+ [CCode (cheader_filename = "sys/socket.h")]
+ public int listen (int sfd, int backlog);
[CCode (cheader_filename = "sys/socket.h")]
public int socket (int domain, int type, int protocol);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]