aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-09-03 07:56:36 +0000
committerMike Frysinger <vapier@gentoo.org>2006-09-03 07:56:36 +0000
commit5ea332e6dd9b6fd7d29408a57f536cec2da145bc (patch)
tree304483e3d46f38f44fd76928f578b3f7d5b27548
parentinsert/delete whitespace (diff)
downloadsandbox-5ea332e6dd9b6fd7d29408a57f536cec2da145bc.tar.gz
sandbox-5ea332e6dd9b6fd7d29408a57f536cec2da145bc.tar.bz2
sandbox-5ea332e6dd9b6fd7d29408a57f536cec2da145bc.zip
src/sandbox.h: add missing header
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--src/sandbox.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/sandbox.h b/src/sandbox.h
new file mode 100644
index 0000000..2a58466
--- /dev/null
+++ b/src/sandbox.h
@@ -0,0 +1,45 @@
+/*
+ * sandbox.h
+ *
+ * Main sandbox related functions.
+ *
+ * Copyright 1999-2006 Gentoo Foundation
+ *
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 675 Mass Ave, Cambridge, MA 02139, USA.
+ *
+ * Some parts might have Copyright:
+ *
+ * Copyright (C) 2002 Brad House <brad@mainstreetsoftworks.com>
+ *
+ * $Header$
+ */
+
+#ifndef __SANDBOX_H__
+#define __SANDBOX_H__
+
+struct sandbox_info_t {
+ char sandbox_log[SB_PATH_MAX];
+ char sandbox_debug_log[SB_PATH_MAX];
+ char sandbox_lib[SB_PATH_MAX];
+ char sandbox_rc[SB_PATH_MAX];
+ char work_dir[SB_PATH_MAX];
+ char var_tmp_dir[SB_PATH_MAX];
+ char tmp_dir[SB_PATH_MAX];
+ char *home_dir;
+} sandbox_info_t;
+
+extern char **setup_environ(struct sandbox_info_t *sandbox_info, bool interactive);
+
+#endif