XenevaOS
Loading...
Searching...
No Matches
netdb.h
Go to the documentation of this file.
1
32#ifndef __NETDB_H__
33#define __NETDB_H__
34
35#include <stdint.h>
36#include <_xeneva.h>
37
38#ifdef __cplusplus
40#endif
41
42
43#pragma pack(push,1)
44#if defined(_MSC_VER)
45__declspec(align(2))
46#else
58#pragma pack(pop)
59
60struct hostent {
61 char* h_name;
62 char** h_aliases;
66};
67
68XE_LIB hostent* gethostbyname(const char* name);
69
70
71#ifdef __cplusplus
72}
73#endif
74
75#endif
enum PeOptionalMagic __attribute__
Definition ramdisk.c:121
#define XE_LIB
Definition _xeneva.h:55
#define XE_EXTERN
Definition _xeneva.h:50
unsigned char uint8_t
Definition acefiex.h:161
unsigned short int uint16_t
Definition acefiex.h:162
XE_LIB hostent * gethostbyname(const char *name)
Definition xenet.cpp:99
DNSPacket
Definition netdb.h:57
Definition ethernet.c:90
uint16_t flags
Definition ethernet.c:92
uint8_t data[]
Definition ethernet.c:97
uint16_t qid
Definition ethernet.c:91
uint16_t authorities
Definition ethernet.c:95
uint16_t answers
Definition ethernet.c:94
uint16_t questions
Definition ethernet.c:93
uint16_t additional
Definition ethernet.c:96
Definition netdb.h:60
int h_addrtype
Definition netdb.h:63
char * h_name
Definition netdb.h:61
char ** h_addr_list
Definition netdb.h:65
int h_length
Definition netdb.h:64
char ** h_aliases
Definition netdb.h:62
__declspec(align(2)) typedef struct _ethernet_
Definition virtionet.cpp:88