---
name: "XmRepTypeGetRegistered"
section: "3"
platform: "linux"
package: "openmotif"
version: "2.3.8-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XmRepTypeGetRegistered"
---

# XmRepTypeGetRegistered(3)

A representation type manager function that returns a copy of the registration list

## NAME

**XmRepTypeGetRegistered** — A representation type manager function that returns a copy of the registration list

## 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, each of which 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. This routine allocates memory for the returned data. The application must free this memory using **XtFree**.

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

- *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

- *rep\_type\_id*

  The identification number of the representation type

## RETURN

Returns a pointer to the registration list of representation types.

## RELATED

[**XmRepTypeRegister**(3)](/XmRepTypeRegister/3.md) and [**XmRepTypeGetRecord**(3)](/XmRepTypeGetRecord/3.md).
