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