socsvn commit: r254567 - soc2013/dpl/head/contrib/xz/src/xz
dpl at FreeBSD.org
dpl at FreeBSD.org
Wed Jul 10 15:22:43 UTC 2013
Author: dpl
Date: Wed Jul 10 15:22:43 2013
New Revision: 254567
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=254567
Log:
Declaration of a pointer to struct that will be used in future changes.
Modified:
soc2013/dpl/head/contrib/xz/src/xz/file_io.h
Modified: soc2013/dpl/head/contrib/xz/src/xz/file_io.h
==============================================================================
--- soc2013/dpl/head/contrib/xz/src/xz/file_io.h Wed Jul 10 15:18:45 2013 (r254566)
+++ soc2013/dpl/head/contrib/xz/src/xz/file_io.h Wed Jul 10 15:22:43 2013 (r254567)
@@ -63,6 +63,8 @@
} file_pair;
+/// All the opened files.
+file_pair *all_pairs;
/// \brief Initialize the I/O module
extern void io_init(void);
@@ -128,13 +130,12 @@
/// and error message printed.
extern bool io_write(file_pair *pair, const io_buf *buf, size_t size);
-
#if defined(CAPSICUM)
/// \brief Limits fd using FreeBSD's Capsicum framework.
///
/// \param fd File descriptor to limit.
extern void limitfd(file_pair *pair);
-/// \brief Enters Capability mode, and limit stdin, stdout & stderr.
+/// \brief Enters Capability mode, and limit basic fds.
extern void cap_init(void);
#endif
More information about the svn-soc-all
mailing list