1/* 2 * DINetBootHook.h 3 * DiskImages 4 * 5 * Created by Byron Han on Sat Apr 13 2002. 6 * Copyright (c) 2002 Apple Computer, Inc. All rights reserved. 7 * 8 * Revision History 9 * 10 * $Log: DINetBootHook.h,v $ 11 * Revision 1.4 2005/07/29 21:49:57 lindak 12 * Merge of branch "chardonnay" to pick up all chardonnay changes in Leopard 13 * as of xnu-792.7.4 14 * 15 * Revision 1.3.1582.1 2005/06/24 01:47:25 lindak 16 * Bringing over all of the Karma changes into chardonnay. 17 * 18 * Revision 1.1.1.1 2005/02/24 21:48:06 akosut 19 * Import xnu-764 from Tiger8A395 20 * 21 * Revision 1.3 2002/05/22 18:50:49 aramesh 22 * Kernel API Cleanup 23 * Bug #: 2853781 24 * Changes from Josh(networking), Rick(IOKit), Jim & David(osfmk), Umesh, Dan & Ramesh(BSD) 25 * Submitted by: Ramesh 26 * Reviewed by: Vincent 27 * 28 * Revision 1.2.12.1 2002/05/21 23:08:14 aramesh 29 * Kernel API Cleanup 30 * Bug #: 2853781 31 * Submitted by: Josh, Umesh, Jim, Rick and Ramesh 32 * Reviewed by: Vincent 33 * 34 * Revision 1.2 2002/05/03 18:08:39 lindak 35 * Merged PR-2909558 into Jaguar (siegmund POST WWDC: add support for NetBoot 36 * over IOHDIXController) 37 * 38 * Revision 1.1.2.1 2002/04/24 22:29:12 dieter 39 * Bug #: 2909558 40 * - added IOHDIXController netboot stubs 41 * 42 * Revision 1.2 2002/04/14 22:56:47 han 43 * fixed up comment re dev_t 44 * 45 * Revision 1.1 2002/04/13 19:22:28 han 46 * added stub file DINetBookHook.c 47 * 48 * 49 */ 50 51#ifndef __DINETBOOKHOOK_H__ 52#define __DINETBOOKHOOK_H__ 53 54#include <sys/appleapiopts.h> 55 56#ifdef __APPLE_API_PRIVATE 57 58#ifdef __cplusplus 59extern "C" { 60#endif 61 62#include <sys/types.h> 63 64/* 65 Name: di_root_image 66 Function: mount the disk image returning the dev node 67 Parameters: path -> path/url to disk image 68 devname <- dev node used to set the rootdevice global variable 69 dev_p <- combination of major/minor node 70 Comments: 71*/ 72int di_root_image(const char *path, char devname[], dev_t *dev_p); 73 74#ifdef __cplusplus 75}; 76#endif 77 78#endif /* __APPLE_API_PRIVATE */ 79 80#endif /* __DINETBOOKHOOK_H__ */ 81