XMREPTYPEGETREGISTERED(3)

πŸ“¦
version 2.5.2 Β· 2 versions
, in alpine 3.24, arch rolling, centos-stream 9, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

πŸ’– NAME πŸ’–

okay so this is XmRepTypeGetRegistered, from the library call manual, and she is a representation type manager function that returns a copy of the registration list. Registry-copy energy, no cap.

✨ SYNOPSIS ✨

#include <Xm/RepType.h>
XmRepTypeList XmRepTypeGetRegistered(void)

πŸ¦‹ DESCRIPTION πŸ¦‹

XmRepTypeGetRegistered retrieves information about all representation types that are registered with the representation type manager. The registration list is an array of structures, and each one contains information for a representation type entry. The end of the registration list is marked with a representation type entry whose rep_type_name field has a NULL pointer. So when rep_type_name is NULL, that's the β€œwe're done here” signal, bestie.

This routine allocates memory for the returned data. The application must free this memory using XtFree. Do not ghost that free call, or you're leaking memory and that is not the vibe.

The representation type entry structure contains the following information:

typedef struct
{
        String  rep_type_name;
        String  *value_names;
        unsigned char   *values;
        unsigned char   num_values;
        Boolean reverse_installed;
        XmRepTypeId     rep_type_id;
} XmRepTypeEntryRec, *XmRepTypeList;
(void)
  • rep_type_name β€” the name of the representation type. Like a name tag at the function party.
  • value_names β€” an array of representation type value names.
  • values β€” an array of representation type numerical values.
  • num_values β€” the number of values associated with the representation type.
  • reverse_installed β€” a flag that indicates whether or not the reverse converter is installed. yes/no, installed-or-not, that's the whole flag.
  • rep_type_id β€” the identification number of the representation type. its little ID number, iconic.

🫢 RETURN 🫢

Returns a pointer to the registration list of representation types. pointer to the list, periodt.

XmRepTypeRegister(3) and XmRepTypeGetRecord(3).


That's the page, bestie. The footer just labels this as the XmRepTypeGetRegistered page in the library call manual β€” no extra version or date tea β€” so this is your cute sign-off. πŸ’…βœ¨