1*0Sstevel@tonic-gate /* 2*0Sstevel@tonic-gate * CDDL HEADER START 3*0Sstevel@tonic-gate * 4*0Sstevel@tonic-gate * The contents of this file are subject to the terms of the 5*0Sstevel@tonic-gate * Common Development and Distribution License, Version 1.0 only 6*0Sstevel@tonic-gate * (the "License"). You may not use this file except in compliance 7*0Sstevel@tonic-gate * with the License. 8*0Sstevel@tonic-gate * 9*0Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10*0Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing. 11*0Sstevel@tonic-gate * See the License for the specific language governing permissions 12*0Sstevel@tonic-gate * and limitations under the License. 13*0Sstevel@tonic-gate * 14*0Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each 15*0Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16*0Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the 17*0Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying 18*0Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner] 19*0Sstevel@tonic-gate * 20*0Sstevel@tonic-gate * CDDL HEADER END 21*0Sstevel@tonic-gate */ 22*0Sstevel@tonic-gate /* 23*0Sstevel@tonic-gate * Copyright 2002 Sun Microsystems, Inc. All rights reserved. 24*0Sstevel@tonic-gate * Use is subject to license terms. 25*0Sstevel@tonic-gate */ 26*0Sstevel@tonic-gate 27*0Sstevel@tonic-gate #ifndef _PROVIDERNAMES_H 28*0Sstevel@tonic-gate #define _PROVIDERNAMES_H 29*0Sstevel@tonic-gate 30*0Sstevel@tonic-gate #pragma ident "%Z%%M% %I% %E% SMI" 31*0Sstevel@tonic-gate 32*0Sstevel@tonic-gate #ifdef __cplusplus 33*0Sstevel@tonic-gate extern "C" { 34*0Sstevel@tonic-gate #endif 35*0Sstevel@tonic-gate 36*0Sstevel@tonic-gate /* Forward declaration of device providers */ 37*0Sstevel@tonic-gate 38*0Sstevel@tonic-gate #define DISK_DRIVE "Solaris_DiskDrive" 39*0Sstevel@tonic-gate #define DISK_PARTITION "Solaris_DiskPartition" 40*0Sstevel@tonic-gate #define LOGICAL_DISK "Solaris_LogicalDisk" 41*0Sstevel@tonic-gate #define DISK "Solaris_Disk" 42*0Sstevel@tonic-gate #define REALIZES_EXTENT "Solaris_RealizesExtent" 43*0Sstevel@tonic-gate #define REALIZES_DISKPART "Solaris_RealizesDiskPartition" 44*0Sstevel@tonic-gate #define REALIZES_DISKDRIVE "Solaris_RealizesDiskDrive" 45*0Sstevel@tonic-gate #define GENERIC_CONTROLLER "Solaris_GenericController" 46*0Sstevel@tonic-gate #define IDE_CONTROLLER "Solaris_IDEController" 47*0Sstevel@tonic-gate #define SCSI_CONTROLLER "Solaris_SCSIController" 48*0Sstevel@tonic-gate #define USBSCSI_CONTROLLER "Solaris_USBSCSIController" 49*0Sstevel@tonic-gate #define MPXIO_CONTROLLER "Solaris_MPXIOController" 50*0Sstevel@tonic-gate #define MPXIO_GROUP "Solaris_MPXIOGroup" 51*0Sstevel@tonic-gate #define MPXIO_COMPONENT "Solaris_MPXIOComponent" 52*0Sstevel@tonic-gate #define MPXIO_LOGICALIDENTITY "Solaris_MPXIOCtrlrLogicalIdentity" 53*0Sstevel@tonic-gate #define MPXIO_INTERFACE "Solaris_MPXIOInterface" 54*0Sstevel@tonic-gate #define SCSI_INTERFACE "Solaris_SCSIInterface" 55*0Sstevel@tonic-gate #define IDE_INTERFACE "Solaris_IDEInterface" 56*0Sstevel@tonic-gate #define MEDIA_PRESENT "Solaris_MediaPresent" 57*0Sstevel@tonic-gate #define DISKPART_BASEDONFDISK "Solaris_DiskPartitionBasedOnFDisk" 58*0Sstevel@tonic-gate #define DISKPART_BASEDONDISK "Solaris_DiskPartitionBasedOnDisk" 59*0Sstevel@tonic-gate #define COMPUTER_SYSTEM "Solaris_ComputerSystem" 60*0Sstevel@tonic-gate #define PHYSICAL_PACKAGE "Solaris_PhysicalPackage" 61*0Sstevel@tonic-gate 62*0Sstevel@tonic-gate /* Forward declaration of function names */ 63*0Sstevel@tonic-gate 64*0Sstevel@tonic-gate #define DRIVE_DESCRIPTOR_FUNC "drive_descriptors_toCCIMInstance" 65*0Sstevel@tonic-gate #define PARTITION_DESCRIPTOR_FUNC "partition_descriptors_toCCIMInstance" 66*0Sstevel@tonic-gate #define DISK_DESCRIPTOR_FUNC "disk_descriptors_toCCIMInstance" 67*0Sstevel@tonic-gate #define LOGICALDISK_DESCRIPTOR_FUNC \ 68*0Sstevel@tonic-gate "logicaldisk_descriptors_toCCIMInstance" 69*0Sstevel@tonic-gate #define MPXIO_DESCRIPTOR_FUNC \ 70*0Sstevel@tonic-gate "mpxiogroup_descriptors_toCCIMInstance" 71*0Sstevel@tonic-gate #define CTRL_DESCRIPTOR_FUNC "ctrl_descriptors_toCCIMInstance" 72*0Sstevel@tonic-gate #define PARTBASEDON_DESCRIPTOR_FUNC \ 73*0Sstevel@tonic-gate "partbasedon_descriptors_toCCIMInstance" 74*0Sstevel@tonic-gate #define REALIZESEXTENT_DESCRIPTOR_FUNC \ 75*0Sstevel@tonic-gate "realizesextent_descriptors_toCCIMInstance" 76*0Sstevel@tonic-gate #define REALIZESDD_DESCRIPTOR_FUNC \ 77*0Sstevel@tonic-gate "realizesdiskdrive_descriptors_toCCIMInstance" 78*0Sstevel@tonic-gate #define MEDIAPRES_DESCRIPTOR_FUNC \ 79*0Sstevel@tonic-gate "mediapresent_descriptors_toCCIMInstance" 80*0Sstevel@tonic-gate 81*0Sstevel@tonic-gate /* utility function names */ 82*0Sstevel@tonic-gate #define UTIL_OPENFILE "Util_OpenFile" 83*0Sstevel@tonic-gate #define UTIL_CLOSEFILE "Util_CloseFile" 84*0Sstevel@tonic-gate #define UTIL_REMOVEFILE "Util_RemoveFile" 85*0Sstevel@tonic-gate 86*0Sstevel@tonic-gate 87*0Sstevel@tonic-gate /* c provider function names */ 88*0Sstevel@tonic-gate #define ENUM_INSTANCES "cp_enumInstances" 89*0Sstevel@tonic-gate #define ENUM_INSTANCENAMES "cp_enumIntanceNames" 90*0Sstevel@tonic-gate #define GET_INSTANCE "cp_getInstance" 91*0Sstevel@tonic-gate #define INVOKE_METHOD "cp_invokeMethod" 92*0Sstevel@tonic-gate #define EXEC_QUERY "cp_execQuery" 93*0Sstevel@tonic-gate #define ASSOCIATORS "cp_associators" 94*0Sstevel@tonic-gate #define ASSOCIATOR_NAMES "cp_associatorNames" 95*0Sstevel@tonic-gate #define REFERENCES "cp_references" 96*0Sstevel@tonic-gate #define REFERENCE_NAMES "cp_referenceNames" 97*0Sstevel@tonic-gate #define CREATE_INSTANCE "cp_createInstance" 98*0Sstevel@tonic-gate #define CREATE_INSTANCELIST "cp_createInstanceList" 99*0Sstevel@tonic-gate #define DELETE_INSTANCE "cp_deleteInstance" 100*0Sstevel@tonic-gate #define SET_INSTANCE "cp_setInstance" 101*0Sstevel@tonic-gate #define GET_PROPERTY "cp_getProperty" 102*0Sstevel@tonic-gate #define SET_PROPERTY "cp_setProperty" 103*0Sstevel@tonic-gate #define CREATE_OBJECT_PATH "cim_createObjectPath" 104*0Sstevel@tonic-gate 105*0Sstevel@tonic-gate #ifdef __cplusplus 106*0Sstevel@tonic-gate } 107*0Sstevel@tonic-gate #endif 108*0Sstevel@tonic-gate 109*0Sstevel@tonic-gate #endif /* _PROVIDERNAMES_H */ 110