3(2005-06-09)

πŸ“¦
version 2.2.9~rc1 Β· 2 versions
, in centos-stream 10, centos-stream 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

πŸ’– CMCIClientFT.execQuery() β€” the "gimme every instance that matches" girlie πŸ’–

okay so bestie, welcome to section 3 of the manual, dated 2005-06-09 β€” yes she's an old queen but she still slays ✨


🌸 NAME 🌸

CMCIClientFT.execQuery() β€” Query the enumeration of instances of a class

like… she queries. she enumerates. she's an icon. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <cmci.h>

CMPIEnumeration*
CMCIClientFT.execQuery(CMCIClient*cl,
               CMPIObjectPath*op,
               constchar*query,
               constchar*lang,
               CMPIStatus*rc);

πŸŽ€ DESCRIPTION πŸŽ€

So what she does is β€” she queries the enumeration of instances of the class (and its subclasses, yes girl, subclasses too πŸ‘‘) defined by reference op, using the query expression. Like, you hand her a class, you hand her a query, she hands you back the instances. main character energy fr fr.

Now, the arguments, one by one, because we don't skip 🫢:

  • cl β€” the client object pointer.
  • op β€” an ObjectPath object pointer, holding the reference that contains the namespace and classname components.
  • query β€” the query expression string pointer.
  • lang β€” the query language identifier string pointer.
  • rc β€” returns the operation status. (suppressed when NULL β€” so if you pass NULL she just… doesn't tell you. your choice bestie πŸ™ˆ)

⭐ RETURN VALUE ⭐

When it's a slay: CMCIClientFT.execQuery() returns a pointer to a CMPIEnumeration object that contains the class instances that match the query, and sets a successful operation status code. ate. πŸ’–

When it's not a slay: it returns a NULL pointer, and sets the operation status error code and the corresponding error string in rc. no cap. 😭


πŸ’€ ERRORS πŸ’€

(nothing listed here in the original, bestie β€” she's mysterious like that ✨)


🌈 EXAMPLES 🌈

(also empty, iconic behaviour honestly πŸŽ€)


πŸ’œ CONFORMING TO πŸ’œ

(nothing listed here either β€” she simply is πŸ‘‘)


🧚 SEE ALSO 🧚


SFCBroker Client Library Β· sfcc Β· 3(2005-06-09)

k bye bestie, go query something gorgeous πŸ¦‹πŸ’…πŸ’–