X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgunixfdlist.h;h=6b1c38307042bd1a7a84d74cceeabf825ece0364;hb=e608ec7b2e47d29fa189fca6e97f484f41c115a4;hp=12b6ee830254dc1ed196e5bc10ffb10091fa4679;hpb=631d0c3534661e549f7df18fbb9832bdf19c5eaf;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gunixfdlist.h b/gio/gunixfdlist.h index 12b6ee8..6b1c383 100644 --- a/gio/gunixfdlist.h +++ b/gio/gunixfdlist.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: Ryan Lortie */ @@ -62,24 +60,32 @@ struct _GUnixFDList GUnixFDListPrivate *priv; }; +GLIB_AVAILABLE_IN_ALL GType g_unix_fd_list_get_type (void) G_GNUC_CONST; +GLIB_AVAILABLE_IN_ALL GUnixFDList * g_unix_fd_list_new (void); +GLIB_AVAILABLE_IN_ALL GUnixFDList * g_unix_fd_list_new_from_array (const gint *fds, gint n_fds); +GLIB_AVAILABLE_IN_ALL gint g_unix_fd_list_append (GUnixFDList *list, gint fd, GError **error); +GLIB_AVAILABLE_IN_ALL gint g_unix_fd_list_get_length (GUnixFDList *list); +GLIB_AVAILABLE_IN_ALL gint g_unix_fd_list_get (GUnixFDList *list, gint index_, GError **error); +GLIB_AVAILABLE_IN_ALL const gint * g_unix_fd_list_peek_fds (GUnixFDList *list, gint *length); +GLIB_AVAILABLE_IN_ALL gint * g_unix_fd_list_steal_fds (GUnixFDList *list, gint *length);