Lines Matching refs:GAddress
344 * The 'get' functions return a pointer to a GAddress object on success,
352 GSocketError GSocket::SetLocal(GAddress *address)
378 GSocketError GSocket::SetPeer(GAddress *address)
397 GAddress *GSocket::GetLocal()
399 GAddress *address = NULL ;
429 /* got a valid address from getsockname, create a GAddress object */
448 GAddress *GSocket::GetPeer()
1179 * GAddress
1199 GAddress *GAddress_new()
1201 GAddress *address;
1203 if ((address = (GAddress *) malloc(sizeof(GAddress))) == NULL)
1213 GAddress *GAddress_copy(GAddress *address)
1215 GAddress *addr2;
1219 if ((addr2 = (GAddress *) malloc(sizeof(GAddress))) == NULL)
1222 memcpy(addr2, address, sizeof(GAddress));
1226 void GAddress_destroy(GAddress *address)
1233 void GAddress_SetFamily(GAddress *address, GAddressType type)
1240 GAddressType GAddress_GetFamily(GAddress *address)
1247 GSocketError _GAddress_translate_from(GAddress *address,
1271 GSocketError _GAddress_translate_to(GAddress *address,
1287 GSocketError _GAddress_Init_INET(GAddress *address)
1295 GSocketError GAddress_INET_SetHostName(GAddress *address, const char *hostname)
1317 GSocketError GAddress_INET_SetAnyAddress(GAddress *address)
1322 GSocketError GAddress_INET_SetHostAddress(GAddress *address,
1347 GSocketError GAddress_INET_SetPortName(GAddress *address, const char *port,
1382 GSocketError GAddress_INET_SetPort(GAddress *address, unsigned short port)
1391 GSocketError GAddress_INET_GetHostName(GAddress *address, char *hostname, size_t sbuf)
1405 unsigned long GAddress_INET_GetHostAddress(GAddress *address)
1413 unsigned short GAddress_INET_GetPort(GAddress *address)
1642 GSocketError GAddress_UNIX_GetPath(GAddress *addr, char *path, size_t buf)
1647 GSocketError GAddress_UNIX_SetPath(GAddress *addr, const char *path)