summaryrefslogtreecommitdiff
path: root/viengoos/viengoos.h
diff options
context:
space:
mode:
Diffstat (limited to 'viengoos/viengoos.h')
-rw-r--r--viengoos/viengoos.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/viengoos/viengoos.h b/viengoos/viengoos.h
new file mode 100644
index 0000000..e9fd3bf
--- /dev/null
+++ b/viengoos/viengoos.h
@@ -0,0 +1,40 @@
+/* priv.h - Private declarations.
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Written by Neal H. Walfield <neal@gnu.org>.
+
+ This file is part of the GNU Hurd.
+
+ The GNU Hurd 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; either version 3 of the
+ License, or (at your option) any later version.
+
+ The GNU Hurd 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, see
+ <http://www.gnu.org/licenses/>. */
+
+#ifndef PRIV_H
+#define PRIV_H
+
+#include <l4/types.h>
+
+/* The program name, set statically. */
+extern const char program_name[];
+
+/* A pointer to the root activity. */
+extern struct activity *root_activity;
+
+/* The arch-independent main function called by the arch dependent
+ code. */
+extern int main (int, char *[]);
+
+/* Find the kernel, the initial servers and the other information
+ required for booting. */
+extern void find_components (void);
+
+#endif