projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[kdbus] Update kdbus interface header (commit: b620b72c9127) 14/10/16
[platform/upstream/glib.git]
/
gio
/
gunixfdlist.h
diff --git
a/gio/gunixfdlist.h
b/gio/gunixfdlist.h
index
638b685
..
6b1c383
100644
(file)
--- 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
* 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 <http://www.gnu.org/licenses/>.
*
* Authors: Ryan Lortie <desrt@desrt.ca>
*/
*
* Authors: Ryan Lortie <desrt@desrt.ca>
*/
@@
-23,7
+21,7
@@
#ifndef __G_UNIX_FD_LIST_H__
#define __G_UNIX_FD_LIST_H__
#ifndef __G_UNIX_FD_LIST_H__
#define __G_UNIX_FD_LIST_H__
-#include <g
lib-object
.h>
+#include <g
io/gio
.h>
G_BEGIN_DECLS
G_BEGIN_DECLS
@@
-41,7
+39,6
@@
G_BEGIN_DECLS
typedef struct _GUnixFDListPrivate GUnixFDListPrivate;
typedef struct _GUnixFDListClass GUnixFDListClass;
typedef struct _GUnixFDListPrivate GUnixFDListPrivate;
typedef struct _GUnixFDListClass GUnixFDListClass;
-typedef struct _GUnixFDList GUnixFDList;
struct _GUnixFDListClass
{
struct _GUnixFDListClass
{
@@
-63,24
+60,32
@@
struct _GUnixFDList
GUnixFDListPrivate *priv;
};
GUnixFDListPrivate *priv;
};
+GLIB_AVAILABLE_IN_ALL
GType g_unix_fd_list_get_type (void) G_GNUC_CONST;
GType g_unix_fd_list_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GUnixFDList * g_unix_fd_list_new (void);
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);
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);
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);
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);
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);
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);
gint * g_unix_fd_list_steal_fds (GUnixFDList *list,
gint *length);