GSrvTarget* g_srv_target_new ( const gchar* hostname, guint16 port, guint16 priority, guint16 weight )
Creates a new
GSrvTarget with the given parameters.
You should not need to use this; normally
The host that the service is running on.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
The port that the service is running on.
The target’s priority.
The target’s weight.
|The caller of the function takes ownership of the data, and is responsible for freeing it.|