3(2005-06-09)
π CMPIInstance β the manual page, but make it cute π
okay bestie, we're in section 3 of the manual, dated 2005-06-09, and today's main character is CMPIInstance β the CMPIInstance class implementation. yes it's giving C, yes it's giving provider internals, and yes you're gonna slay it. π
β¨ NAME β¨
CMPIInstance β CMPIInstance class implementation. that's it, that's the whole vibe. π
πΈ SYNOPSIS πΈ
π«Ά Public Attributes
int void * hdlβ an opaque pointer to class instance data. opaque means don't peek, bestie, it's not your business π«£CMPIInstanceFT * ftβ a pointer to the Args Function Table. this is where all the function-y goodness lives.
π METHODS π
here's the whole roster, no gatekeeping, every single one:
CMPIStatus(* release )(CMPIInstance *inst)β says "we're done here" to the Instance object. after this it will not be used any further and may be freed by the CMPI run time system. it's the goodbye text but official β¨CMPIInstance *(* clone )(CMPIInstance *inst, CMPIStatus *rc)β makes an independent copy of this Instance object. an actual twin, not a "we're basically the same" situation.CMPIData(* getProperty )(CMPIInstance *inst, const char *name, CMPIStatus *rc)β gets a named property value. you bring the name, it brings the value.CMPIData(* getPropertyAt )(CMPIInstance *inst, unsigned int index, CMPIString **name, CMPIStatus *rc)β gets a Property value defined by its index. no name needed, just the number, iykyk π’unsigned int(* getPropertyCount )(CMPIInstance *inst, CMPIStatus *rc)β gets the number of properties contained in this Instance. it's a headcount, but for properties.CMPIStatus(* setProperty )(CMPIInstance *inst, const char *name, CMPIValue *value, CMPIType type)β adds/replaces a named Property. yes bestie, add or replace, it's flexible like that πCMPIObjectPath *(* getObjectPath )(CMPIInstance *inst, CMPIStatus *rc)β generates an ObjectPath out of the namespace, classname and key propeties of this Instance. (the typopropetiesis in the source, and honestly? iconic. we don't fix it, we respect it. π)CMPIStatus(* setPropertyFilter )(CMPIInstance *inst, char **propertyList, char **keys)β directs CMPI to ignore anysetPropertyoperations for this instance for any properties not in this list. it's the bouncer at the club. if you're not on the list, you're not getting in π«
π¦ DESCRIPTION π¦
Native CMPIInstance implementation. periodt.
This is the native CMPIInstance implementation as used for remote providers. It reflects the well-defined interface of a regular CMPIInstance, however, it works independently from the management broker. so likeβ¦ same energy, own apartment, no roommates. π
It is part of a native broker implementation that simulates CMPI data types rather than interacting with the entities in a full-grown CIMOM. yes, it's playing pretend, and it's doing it beautifully. β¨
π SEE ALSO π
- Common Manageability Programming Interface (CMPI) - OpenGroup
and that's the page, bestie! go forth and setProperty responsibly. π
this whole thing came to you courtesy of the SFCBroker Client Library, version sfcc, and it's dated 2005-06-09 β old enough to have its own nostalgia era, still serving looks. ππ¦β
π¦ where this page comes from
- centos-stream 10: sblim-sfcc 2.2.8-28.el10 Β· EPL-1.0
- centos-stream 9: sblim-sfcc 2.2.8-18.el9 Β· EPL-1.0
- centos-stream 9: sblim-sfcc 2.2.8-18.el9 Β· EPL-1.0
- fedora 43: sblim-sfcc 2.2.8-29.fc43 Β· EPL-1.0
- fedora 43: sblim-sfcc 2.2.8-29.fc43 Β· EPL-1.0
- fedora 44: sblim-sfcc 2.2.8-30.fc44 Β· EPL-1.0
- fedora 44: sblim-sfcc 2.2.8-30.fc44 Β· EPL-1.0
- nixos 26.05: sblim-sfcc 2.2.8-unstable-2023-06-26
- nixpkgs unstable: sblim-sfcc 2.2.8-unstable-2023-06-26
- opensuse-leap 16.0: sblim-sfcc-devel 2.2.9~rc1-bp160.1.13 Β· EPL-1.0
- opensuse-leap 16.0: sblim-sfcc-devel 2.2.9~rc1-bp160.1.13 Β· EPL-1.0
- opensuse-leap 16.0: sblim-sfcc-devel 2.2.9~rc1-bp160.1.13 Β· EPL-1.0
- opensuse-leap 16.0: sblim-sfcc-devel 2.2.9~rc1-bp160.1.13 Β· EPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms