X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgunixsocketaddress.h;h=709ee28816ddc92ccca669602f3168c481aed44b;hb=2a53b4d0e2c98a14aedf31e38f0ad1fb2e8fe26f;hp=c6e3e629597d64b9ed7720fd4c42c83fa708ec0d;hpb=ff2dafb20999d0b00ee599f998ef00ea514e4482;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gunixsocketaddress.h b/gio/gunixsocketaddress.h index c6e3e62..709ee28 100644 --- a/gio/gunixsocketaddress.h +++ b/gio/gunixsocketaddress.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 @@ -52,23 +50,28 @@ struct _GUnixSocketAddressClass GSocketAddressClass parent_class; }; +GLIB_AVAILABLE_IN_ALL GType g_unix_socket_address_get_type (void) G_GNUC_CONST; +GLIB_AVAILABLE_IN_ALL GSocketAddress *g_unix_socket_address_new (const gchar *path); -#ifndef G_DISABLE_DEPRECATED +GLIB_DEPRECATED_FOR(g_unix_socket_address_new_with_type) GSocketAddress *g_unix_socket_address_new_abstract (const gchar *path, - gint path_len) G_GNUC_DEPRECATED_FOR(g_unix_socket_address_new_with_type); -#endif + gint path_len); +GLIB_AVAILABLE_IN_ALL GSocketAddress *g_unix_socket_address_new_with_type (const gchar *path, gint path_len, GUnixSocketAddressType type); +GLIB_AVAILABLE_IN_ALL const char * g_unix_socket_address_get_path (GUnixSocketAddress *address); +GLIB_AVAILABLE_IN_ALL gsize g_unix_socket_address_get_path_len (GUnixSocketAddress *address); +GLIB_AVAILABLE_IN_ALL GUnixSocketAddressType g_unix_socket_address_get_address_type (GUnixSocketAddress *address); -#ifndef G_DISABLE_DEPRECATED -gboolean g_unix_socket_address_get_is_abstract (GUnixSocketAddress *address) G_GNUC_DEPRECATED; -#endif +GLIB_DEPRECATED +gboolean g_unix_socket_address_get_is_abstract (GUnixSocketAddress *address); +GLIB_AVAILABLE_IN_ALL gboolean g_unix_socket_address_abstract_names_supported (void); G_END_DECLS