Lines Matching refs:GAddress
616 * The 'get' functions return a pointer to a GAddress object on success,
624 GSocketError GSocket::SetLocal(GAddress *address)
650 GSocketError GSocket::SetPeer(GAddress *address)
669 GAddress *GSocket::GetLocal()
671 GAddress *address;
695 /* got a valid address from getsockname, create a GAddress object */
714 GAddress *GSocket::GetPeer()
1868 * GAddress
1904 GAddress *GAddress_new(void)
1906 GAddress *address;
1908 if ((address = (GAddress *) malloc(sizeof(GAddress))) == NULL)
1918 GAddress *GAddress_copy(GAddress *address)
1920 GAddress *addr2;
1924 if ((addr2 = (GAddress *) malloc(sizeof(GAddress))) == NULL)
1927 memcpy(addr2, address, sizeof(GAddress));
1943 void GAddress_destroy(GAddress *address)
1953 void GAddress_SetFamily(GAddress *address, GAddressType type)
1960 GAddressType GAddress_GetFamily(GAddress *address)
1967 GSocketError _GAddress_translate_from(GAddress *address,
2008 GSocketError _GAddress_translate_to(GAddress *address,
2035 GSocketError _GAddress_Init_INET(GAddress *address)
2053 GSocketError GAddress_INET_SetHostName(GAddress *address, const char *hostname)
2106 GSocketError GAddress_INET_SetAnyAddress(GAddress *address)
2111 GSocketError GAddress_INET_SetHostAddress(GAddress *address,
2126 GSocketError GAddress_INET_SetPortName(GAddress *address, const char *port,
2174 GSocketError GAddress_INET_SetPort(GAddress *address, unsigned short port)
2187 GSocketError GAddress_INET_GetHostName(GAddress *address, char *hostname, size_t sbuf)
2220 unsigned long GAddress_INET_GetHostAddress(GAddress *address)
2232 unsigned short GAddress_INET_GetPort(GAddress *address)
2250 GSocketError _GAddress_Init_UNIX(GAddress *address)
2270 GSocketError GAddress_UNIX_SetPath(GAddress *address, const char *path)
2285 GSocketError GAddress_UNIX_GetPath(GAddress *address, char *path, size_t sbuf)