[vala/0.14] posix: add members for SockAddr struct
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.14] posix: add members for SockAddr struct
- Date: Tue, 31 Jan 2012 13:15:02 +0000 (UTC)
commit 4e798cd5af72b7f563839b9183914364931e7755
Author: Michael 'Mickey' Lauer <mickey vanille-media de>
Date: Sat Jan 7 12:29:21 2012 +0100
posix: add members for SockAddr struct
vapi/posix.vapi | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index 31341b2..9aa8e53 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -1477,6 +1477,9 @@ namespace Posix {
[CCode (cname = "struct sockaddr", cheader_filename = "sys/socket.h", destroy_function = "")]
public struct SockAddr {
+ public int sa_family;
+ [CCode (array_length = false)]
+ public char[] data;
}
[CCode (cname = "struct sockaddr_in", cheader_filename = "netinet/in.h", destroy_function = "")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]