<!-- $XConsortium: RepTypGD.sgm /main/8 1996/09/08 20:58:42 rws $ -->
<!-- (c) Copyright 1995 Digital Equipment Corporation. -->
<!-- (c) Copyright 1995 Hewlett-Packard Company. -->
<!-- (c) Copyright 1995 International Business Machines Corp. -->
<!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
<!-- (c) Copyright 1995 Novell, Inc. -->
<!-- (c) Copyright 1995 FUJITSU LIMITED. -->
<!-- (c) Copyright 1995 Hitachi. -->

<RefEntry Id="CDEMMA.MAN373.rsml.1">
<RefMeta>
<RefEntryTitle>XmRepTypeGetRegistered</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>XmRepTypeGetRegistered</Function></RefName>
<RefPurpose>A representation type manager function that
returns a copy of the registration list
<IndexTerm>
<Primary>XmRepTypeGetRegistered</Primary>
</IndexTerm><IndexTerm>
<Primary>representation type manager functions</Primary>
<Secondary>XmRepTypeGetRegistered</Secondary>
</IndexTerm></RefPurpose>
</RefNameDiv>
<!-- -->
<!-- @OSF_COPYRIGHT@-->
<!-- COPYRIGHT NOTICE-->
<!-- Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.-->
<!-- ALL RIGHTS RESERVED (MOTIF). See the file named COPY.MOTIF.DOC for-->
<!-- the full copyright text.-->
<!-- -->
<!-- HISTORY-->
<!-- -->
<!-- **-->
<!-- **-->
<!-- **  (c) Copyright 1989, 1990, 1992 by Open Software Foundation, Inc.-->
<!-- **      All Rights Reserved.-->
<!-- **-->
<!-- **  (c) Copyright 1987, 1988, 1989, by Hewlett-Packard Company-->
<!-- **-->
<!-- **-->
<RefSynopsisDiv>
<FuncSynopsis>
<FuncSynopsisInfo>#include &lt;Xm/RepType.h>
</FuncSynopsisInfo>
<FuncDef>XmRepTypeList <Function>XmRepTypeGetRegistered</Function></FuncDef>
<Void>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para><Function>XmRepTypeGetRegistered</Function> 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
<Symbol Role="Variable">rep_type_name</Symbol> field has a NULL pointer. This routine
allocates memory for the returned data. The application must free
this memory using <Function>XtFree</Function>.
</Para>
<Para>The representation type entry structure contains the following
information:
</Para>
<FuncSynopsis>

<FuncSynopsisInfo>typedef struct
{
        String  <Replaceable>rep_type_name</Replaceable>;
        String  *<Replaceable>value_names</Replaceable>;
        unsigned char   *<Replaceable>values</Replaceable>;
        unsigned char   <Replaceable>num_values</Replaceable>;
        Boolean <Replaceable>reverse_installed</Replaceable>;
        XmRepTypeId     <Replaceable>rep_type_id</Replaceable>;
} XmRepTypeEntryRec, *XmRepTypeList;
</FuncSynopsisInfo>
<FuncDef></FuncDef>
<void>
</FuncSynopsis>
<VariableList>
<VarListEntry>
<Term><Symbol Role="Variable">rep_type_name</Symbol></Term>
<ListItem>
<Para>The name of the representation type
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">value_names</Symbol></Term>
<ListItem>
<Para>An array of representation type value names
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">values</Symbol></Term>
<ListItem>
<Para>An array of representation type numerical values
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">num_values</Symbol></Term>
<ListItem>
<Para>The number of values associated with the representation type
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">reverse_installed</Symbol></Term>
<ListItem>
<Para>A flag that indicates whether or not the reverse converter is
installed
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">rep_type_id</Symbol></Term>
<ListItem>
<Para>The identification number of the representation type
</Para>
</ListItem>
</VarListEntry>
</VariableList>


</RefSect1>
<RefSect1>
<Title>RETURN</Title>
<Para>Returns a pointer to the registration list of representation types.
</Para>
</RefSect1>
<RefSect1>
<Title>RELATED</Title>
<Para>&cdeman.XmRepTypeRegister; and
&cdeman.XmRepTypeGetRecord;.
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.09 7/2/95-->
