Lines Matching refs:GAddress
108 GAddress *m_local;
109 GAddress *m_peer;
824 GAddress *peer;
845 GAddress *local;
1333 * GAddress
1369 GAddress *GAddress_new(void)
1371 GAddress *address;
1373 if ((address = (GAddress *) malloc(sizeof(GAddress))) == NULL)
1383 GAddress *GAddress_copy(GAddress *address)
1385 GAddress *addr2;
1389 if ((addr2 = (GAddress *) malloc(sizeof(GAddress))) == NULL)
1392 memcpy(addr2, address, sizeof(GAddress));
1409 void GAddress_destroy(GAddress *address)
1419 void GAddress_SetFamily(GAddress *address, GAddressType type)
1426 GAddressType GAddress_GetFamily(GAddress *address)
1433 GSocketError _GAddress_translate_from(GAddress *address,
1477 GSocketError _GAddress_translate_to(GAddress *address,
1504 GSocketError _GAddress_Init_INET(GAddress *address)
1523 GSocketError GAddress_INET_SetHostName(GAddress *address, const char *hostname)
1565 GSocketError GAddress_INET_SetAnyAddress(GAddress *address)
1570 GSocketError GAddress_INET_SetHostAddress(GAddress *address,
1584 GSocketError GAddress_INET_SetPortName(GAddress *address, const char *port,
1624 GSocketError GAddress_INET_SetPort(GAddress *address, unsigned short port)
1637 GSocketError GAddress_INET_GetHostName(GAddress *address, char *hostname, size_t sbuf)
1661 unsigned long GAddress_INET_GetHostAddress(GAddress *address)
1673 unsigned short GAddress_INET_GetPort(GAddress *address)
1691 GSocketError _GAddress_Init_UNIX(GAddress *address)
1711 GSocketError GAddress_UNIX_SetPath(GAddress *address, const char *path)
1725 GSocketError GAddress_UNIX_GetPath(GAddress *address, char *path, size_t sbuf)
1747 * The 'get' functions return a pointer to a GAddress object on success,
1756 GSocketError GSocket_SetLocal(GSocket *socket, GAddress *address)
1782 GSocketError GSocket_SetPeer(GSocket *socket, GAddress *address)
1801 GAddress *GSocket_GetLocal(GSocket *socket)
1803 GAddress *address;
1827 // got a valid address from getsockname, create a GAddress object
1846 GAddress *GSocket_GetPeer(GSocket *socket)