mirror of
				https://github.com/oneclickvirt/basics.git
				synced 2025-10-31 12:06:30 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			408 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			408 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef __SMC_H__
 | |
| #define __SMC_H__ 1
 | |
| 
 | |
| #include <IOKit/IOKitLib.h>
 | |
| #include <CoreFoundation/CoreFoundation.h>
 | |
| 
 | |
| #if (defined __MAC_OS_X_VERSION_MIN_REQUIRED) && (__MAC_OS_X_VERSION_MIN_REQUIRED < 120000)
 | |
| #define kIOMainPortDefault kIOMasterPortDefault
 | |
| #endif
 | |
| 
 | |
| void *find_properties(io_registry_entry_t, int, CFStringRef, CFStringRef);
 | |
| char **find_devices(char *);
 | |
| int find_utilization(char *, char *);
 | |
| 
 | |
| #endif | 
