X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fginetsocketaddress.h;h=745936e68cc03f9caf3da427f61b61e114bcb13f;hb=2a53b4d0e2c98a14aedf31e38f0ad1fb2e8fe26f;hp=1d833879ac9bb43ead60758d7428439bbed0e685;hpb=e1b99b2ddcf21f5dab26ad74afa6935eaf70028e;p=platform%2Fupstream%2Fglib.git
diff --git a/gio/ginetsocketaddress.h b/gio/ginetsocketaddress.h
index 1d83387..745936e 100644
--- a/gio/ginetsocketaddress.h
+++ b/gio/ginetsocketaddress.h
@@ -13,9 +13,7 @@
* 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 .
*
* Authors: Christian Kellner
* Samuel Cormier-Iijima
@@ -55,18 +53,25 @@ struct _GInetSocketAddressClass
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