* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General
- * Public License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
*
* Authors: Christian Kellner <gicmo@gnome.org>
* Samuel Cormier-Iijima <sciyoshi@gmail.com>
GSocketAddressClass parent_class;
};
-GType g_inet_socket_address_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
+GType g_inet_socket_address_get_type (void) G_GNUC_CONST;
-GSocketAddress *g_inet_socket_address_new (GInetAddress *address,
- guint16 port);
+GLIB_AVAILABLE_IN_ALL
+GSocketAddress *g_inet_socket_address_new (GInetAddress *address,
+ guint16 port);
+GLIB_AVAILABLE_IN_2_40
+GSocketAddress *g_inet_socket_address_new_from_string (const char *address,
+ guint port);
-GInetAddress * g_inet_socket_address_get_address (GInetSocketAddress *address);
-guint16 g_inet_socket_address_get_port (GInetSocketAddress *address);
+GLIB_AVAILABLE_IN_ALL
+GInetAddress * g_inet_socket_address_get_address (GInetSocketAddress *address);
+GLIB_AVAILABLE_IN_ALL
+guint16 g_inet_socket_address_get_port (GInetSocketAddress *address);
GLIB_AVAILABLE_IN_2_32
-guint32 g_inet_socket_address_get_flowinfo (GInetSocketAddress *address);
+guint32 g_inet_socket_address_get_flowinfo (GInetSocketAddress *address);
GLIB_AVAILABLE_IN_2_32
-guint32 g_inet_socket_address_get_scope_id (GInetSocketAddress *address);
+guint32 g_inet_socket_address_get_scope_id (GInetSocketAddress *address);
G_END_DECLS