projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
setup proper bloom filters for AddMatch
[platform/upstream/glib.git]
/
gio
/
gunixoutputstream.h
diff --git
a/gio/gunixoutputstream.h
b/gio/gunixoutputstream.h
index
bfcf614
..
0b84857
100644
(file)
--- a/
gio/gunixoutputstream.h
+++ b/
gio/gunixoutputstream.h
@@
-1,5
+1,5
@@
/* GIO - GLib Input, Output and Streaming Library
/* GIO - GLib Input, Output and Streaming Library
- *
+ *
* Copyright (C) 2006-2007 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* Copyright (C) 2006-2007 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
@@
-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/>.
*
* Author: Alexander Larsson <alexl@redhat.com>
*/
*
* Author: Alexander Larsson <alexl@redhat.com>
*/
@@
-36,7
+34,7
@@
G_BEGIN_DECLS
/**
* GUnixOutputStream:
/**
* GUnixOutputStream:
- *
+ *
* Implements #GOutputStream for outputting to selectable unix file descriptors
**/
typedef struct _GUnixOutputStream GUnixOutputStream;
* Implements #GOutputStream for outputting to selectable unix file descriptors
**/
typedef struct _GUnixOutputStream GUnixOutputStream;
@@
-64,11
+62,19
@@
struct _GUnixOutputStreamClass
void (*_g_reserved5) (void);
};
void (*_g_reserved5) (void);
};
-GType g_unix_output_stream_get_type (void) G_GNUC_CONST;
-
-GOutputStream *g_unix_output_stream_new (int fd,
- gboolean close_fd_at_close);
+GLIB_AVAILABLE_IN_ALL
+GType g_unix_output_stream_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
+GOutputStream * g_unix_output_stream_new (gint fd,
+ gboolean close_fd);
+GLIB_AVAILABLE_IN_ALL
+void g_unix_output_stream_set_close_fd (GUnixOutputStream *stream,
+ gboolean close_fd);
+GLIB_AVAILABLE_IN_ALL
+gboolean g_unix_output_stream_get_close_fd (GUnixOutputStream *stream);
+GLIB_AVAILABLE_IN_ALL
+gint g_unix_output_stream_get_fd (GUnixOutputStream *stream);
G_END_DECLS
#endif /* __G_UNIX_OUTPUT_STREAM_H__ */
G_END_DECLS
#endif /* __G_UNIX_OUTPUT_STREAM_H__ */