X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgunixsocketaddress.h;h=709ee28816ddc92ccca669602f3168c481aed44b;hb=7e5e3e142f856ac80e83a9a5110b51aa4b5b0821;hp=527937f9aca2980e5e0d27e40d7743e646c88d13;hpb=68fc0556275edf6e63a3242841f2981a42ee11cb;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gunixsocketaddress.h b/gio/gunixsocketaddress.h index 527937f..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,9 +50,29 @@ struct _GUnixSocketAddressClass GSocketAddressClass parent_class; }; +GLIB_AVAILABLE_IN_ALL GType g_unix_socket_address_get_type (void) G_GNUC_CONST; -GSocketAddress *g_unix_socket_address_new (const gchar *path); +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, + 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