Lines Matching refs:GAddress
244 * The 'get' functions return a pointer to a GAddress object on success,
252 GSocketError GSocket::SetLocal(GAddress *address)
278 GSocketError GSocket::SetPeer(GAddress *address)
297 GAddress *GSocket::GetLocal()
299 GAddress *address;
323 /* got a valid address from getsockname, create a GAddress object */
340 GAddress *GSocket::GetPeer()
1201 * GAddress
1237 GAddress *GAddress_new(void)
1239 GAddress *address;
1241 if ((address = (GAddress *) malloc(sizeof(GAddress))) == NULL)
1251 GAddress *GAddress_copy(GAddress *address)
1253 GAddress *addr2;
1257 if ((addr2 = (GAddress *) malloc(sizeof(GAddress))) == NULL)
1260 memcpy(addr2, address, sizeof(GAddress));
1276 void GAddress_destroy(GAddress *address)
1286 void GAddress_SetFamily(GAddress *address, GAddressType type)
1293 GAddressType GAddress_GetFamily(GAddress *address)
1300 GSocketError _GAddress_translate_from(GAddress *address,
1340 GSocketError _GAddress_translate_to(GAddress *address,
1367 GSocketError _GAddress_Init_INET(GAddress *address)
1385 GSocketError GAddress_INET_SetHostName(GAddress *address, const char *hostname)
1416 GSocketError GAddress_INET_SetAnyAddress(GAddress *address)
1421 GSocketError GAddress_INET_SetHostAddress(GAddress *address,
1436 GSocketError GAddress_INET_SetPortName(GAddress *address, const char *port,
1474 GSocketError GAddress_INET_SetPort(GAddress *address, unsigned short port)
1487 GSocketError GAddress_INET_GetHostName(GAddress *address, char *hostname, size_t sbuf)
1511 unsigned long GAddress_INET_GetHostAddress(GAddress *address)
1523 unsigned short GAddress_INET_GetPort(GAddress *address)
1540 GSocketError _GAddress_Init_UNIX(GAddress *address)
1547 GSocketError GAddress_UNIX_SetPath(GAddress *address, const char *WXUNUSED(path))
1554 GSocketError GAddress_UNIX_GetPath(GAddress *address, char *WXUNUSED(path), size_t WXUNUSED(sbuf))