X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgunixsocketaddress.h;h=709ee28816ddc92ccca669602f3168c481aed44b;hb=33b9935efc82f8cc4747dfea2743129dfc418d19;hp=fabddd8ff290b642d79656cb269f9ed5723269de;hpb=69801f8dc84c0c9403df6802eccc5d03328cd3ae;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gunixsocketaddress.h b/gio/gunixsocketaddress.h index fabddd8..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,15 +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); +GLIB_DEPRECATED_FOR(g_unix_socket_address_new_with_type) GSocketAddress *g_unix_socket_address_new_abstract (const gchar *path, - int path_len); + 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); +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