This is IOConfigTable.h in view mode; [Download] [Up]
/* Copyright (c) 1993 NeXT Computer, Inc. All rights reserved. * * IOConfigTable object. Usable both in the kernel and user space. * * HISTORY * 29-Jan-93 Doug Mitchell at NeXT * Created. */ #import <objc/Object.h> #ifndef KERNEL #import <objc/List.h> #import <objc/NXBundle.h> #endif @interface IOConfigTable : Object { @private /* * In the kernel, this will be a char * to the contents of the * relevant file. In user space, this will be an id of * an NXStringTable. */ void *_private; } /* * Obtain the system-wide configuration table. */ + newFromSystemConfig; #ifndef KERNEL /* * Obtain the configuration table for a specified driver and unit number. */ + newForDriver : (const char *)driverName unit : (int)unit; /* * Obtain default configuration table for specified driver. */ + newDefaultTableForDriver : (const char *)driverName; /* * Obtain a list of instances of IOConfigTable, one per active device on * the system. */ + (List *) tablesForInstalledDrivers; /* * Obtain a list of instances of IOConfigTable, one per driver * loaded by the booter. */ + (List *) tablesForBootDrivers; /* * Obtain an NXBundle for a driver associated with current IOConfigTable * instance. */ - (NXBundle *)driverBundle; #endif /* * Obtain value for specified string key. Returns NULL if key not found. */ - (const char *)valueForStringKey:(const char *)key; - free; #ifdef KERNEL /* * Free a string obtained by -stringValueForStringKey: */ + (void)freeString : (const char *)string; - (void)freeString : (const char *)string; #endif @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.