/*
- * Copyright (c) 2000-2004 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2007 Apple Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
#include <sys/param.h>
+struct exec_info {
+ char path[MAXPATHLEN];
+ int ac;
+ int ec;
+ char **av;
+ char **ev;
+};
+
struct exec_archhandler {
char path[MAXPATHLEN];
uint32_t fsid;
};
extern struct exec_archhandler exec_archhandler_ppc;
-extern int set_archhandler(struct proc *p, int arch);
-extern int grade_binary(cpu_type_t exectype, cpu_subtype_t execsubtype);
+int set_archhandler(struct proc *, int);
+int grade_binary(cpu_type_t, cpu_subtype_t);
#if defined (__ppc__) || defined (__ppc64__)
#include "ppc/exec.h"
#error architecture not supported
#endif
-
#endif /* _BSD_MACHINE_EXEC_H_ */