| [Insert name here] Reference Manual | ||||
|---|---|---|---|---|
#define R_NET_ADDRESS_TYPE #define R_NET_ADDRESS (obj) #define R_NET_ADDRESS_CLASS (klass) #define IS_R_NET_ADDRESS (obj) #define IS_R_NET_ADDRESS_CLASS (klass) #define R_NET_ADDRESS_GET_CLASS (kls) RNetAddressPrivate; enum RNetAddressType; RNetAddress; GType r_net_address_get_type (void); RNetAddress* r_net_address_new (void); void r_net_address_free (RNetAddress *net); RNetAddress* r_net_address_copy (RNetAddress *net); gchar* r_net_address_decode_type (RNetAddressType type); RNetAddressType r_net_address_encode_type (gchar *type);
typedef enum {
R_NET_ADDRESS_WEB = 0,
R_NET_ADDRESS_EMAIL,
R_NET_ADDRESS_EKIGA,
R_NET_ADDRESS_IRC,
R_NET_ADDRESS_IRC_AIM,
R_NET_ADDRESS_IRC_ICQ,
R_NET_ADDRESS_IRC_JABBER,
R_NET_ADDRESS_IRC_YAHOO,
R_NET_ADDRESS_IRC_MSN,
R_NET_ADDRESS_WORK_WEB,
R_NET_ADDRESS_WORK_EMAIL,
R_NET_ADDRESS_UNKNOWN
} RNetAddressType;
RNetAddress* r_net_address_new (void);
create a new RNetAddress
| Returns : | a RNetAddress* |
void r_net_address_free (RNetAddress *net);
free the memory owned by net
net : |
a RNetAddress |
RNetAddress* r_net_address_copy (RNetAddress *net);
copy the given net address.
net : |
a RNetAddress |
| Returns : | a new allocated RNetAddress* |
gchar* r_net_address_decode_type (RNetAddressType type);
decode the RNetAddressType given type
type : |
a RNetAddressType |
| Returns : | a gchar* |
RNetAddressType r_net_address_encode_type (gchar *type);
type : |
|
| Returns : |
url" property"url" gchararray : Read / Write / Construct
the net address uri
Default value: NULL
url-type" property"url-type" gint : Read / Write / Construct
the uri's type, see RNetAddressType for valid values
Allowed values: [0,11]
Default value: 11