[vala] Revert "posix: add gethostbyname(3) and assorted struct"
- From: Dr. Michael Lauer <mlauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] Revert "posix: add gethostbyname(3) and assorted struct"
- Date: Wed, 8 Apr 2015 10:45:07 +0000 (UTC)
commit 02a32fd097ac11f35c730f0e3380f23bc9b864ce
Author: Dr. Michael Lauer <mickey vanille-media de>
Date: Wed Apr 8 10:39:58 2015 +0000
Revert "posix: add gethostbyname(3) and assorted struct"
This reverts commit 0d8aea145d90ab04a57e2868b0cc56693ddd7e8d.
(Due to mixed whitespace, nothing functional wrong with the commit)
vapi/posix.vapi | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index 7a4baf5..49311cf 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -1432,8 +1432,6 @@ namespace Posix {
public void freeaddrinfo (AddrInfo *res);
[CCode (cheader_filename = "netdb.h")]
public unowned string gai_strerror (int errcode);
- [CCode (cheader_filename = "netdb.h")]
- public unowned HostEnt gethostbyname (string name);
[CCode (cname = "socklen_t", cheader_filename = "sys/socket.h", default_value = "0", has_type_id =
false)]
public struct socklen_t : int {
@@ -1485,17 +1483,6 @@ namespace Posix {
public AddrInfo *ai_next;
}
- [CCode (cname = "struct hostent", cheader_filename = "netdb.h", destroy_function = "", has_type_id =
false)]
- public class HostEnt {
- public string h_name;
- [CCode (array_length=false, array_null_terminated=true)]
- public string[] h_aliases;
- public int h_addrtype;
- public int h_length;
- [CCode (array_length=false, array_null_terminated=true)]
- public string[] h_addr_list;
- }
-
[CCode (cheader_filename = "sys/stat.h")]
public int mkfifo (string filename, mode_t mode);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]