112 lines
3.6 KiB
Plaintext
112 lines
3.6 KiB
Plaintext
<!-- $XConsortium: propname.sgm /main/5 1996/08/30 13:48:50 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. -->
|
|
|
|
<![ %CDE.C.CDE; [<RefEntry Id="CDEMX.XCDI.MAN231.rsml.1">]]>
|
|
<![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN231.rsml.1">]]>
|
|
<RefMeta>
|
|
<RefEntryTitle>tt_session_propname</RefEntryTitle>
|
|
<ManVolNum>library call</ManVolNum>
|
|
</RefMeta>
|
|
<RefNameDiv>
|
|
<RefName><Function>tt_session_propname</Function></RefName>
|
|
<RefPurpose>returns an element of the list of property names for a session
|
|
</RefPurpose>
|
|
</RefNameDiv>
|
|
<!-- $XConsortium: propname.sgm /main/5 1996/08/30 13:48:50 rws $-->
|
|
<!-- CDE Common Source Format, Version 1.0.0-->
|
|
<!-- (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company-->
|
|
<!-- (c) Copyright 1993, 1994, 1995 International Business Machines Corp.-->
|
|
<!-- (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.-->
|
|
<!-- (c) Copyright 1993, 1994, 1995 Novell, Inc.-->
|
|
<RefSynopsisDiv>
|
|
<FuncSynopsis Remap="ANSI">
|
|
<FuncSynopsisInfo>#include <Tt/tt_c.h>
|
|
</FuncSynopsisInfo>
|
|
<FuncDef>char <Function>*tt_session_propname</Function></FuncDef>
|
|
<ParamDef>const char *<Parameter>sessid</Parameter></ParamDef>
|
|
<ParamDef>int <Parameter>n</Parameter></ParamDef>
|
|
</FuncSynopsis>
|
|
</RefSynopsisDiv>
|
|
<RefSect1>
|
|
<Title>DESCRIPTION</Title>
|
|
<Para>The
|
|
<Function>tt_session_propname</Function> function
|
|
returns the
|
|
<Symbol Role="Variable">n</Symbol>th element of the list of currently defined property names for
|
|
the specified session.
|
|
</Para>
|
|
<Para>The
|
|
<Emphasis>sessid</Emphasis> argument is the name of the session joined.
|
|
The application can use the
|
|
<Emphasis>sessid</Emphasis> value returned when
|
|
<Function>tt_default_session</Function> is called.
|
|
The
|
|
<Symbol Role="Variable">n</Symbol> argument is the number of the item in the property name list for which a name is to be
|
|
obtained.
|
|
The list numbering begins with zero.
|
|
</Para>
|
|
</RefSect1>
|
|
<RefSect1>
|
|
<Title>RETURN VALUE</Title>
|
|
<Para>Upon successful completion, the
|
|
<Function>tt_session_propname</Function> function returns the name of the specified property
|
|
from the session property list.
|
|
If there are
|
|
<Symbol Role="Variable">n</Symbol> properties or fewer,
|
|
<Function>tt_session_propname</Function> returns
|
|
<SystemItem Class="Constant">NULL</SystemItem>. The application can use
|
|
&cdeman.tt.ptr.error; to extract one of the following
|
|
<StructName Role="typedef">Tt_status</StructName> values from the returned pointer:
|
|
</Para>
|
|
<VariableList>
|
|
<VarListEntry>
|
|
<Term>TT_OK</Term>
|
|
<ListItem>
|
|
<Para>The operation completed successfully.
|
|
</Para>
|
|
</ListItem>
|
|
</VarListEntry>
|
|
<VarListEntry>
|
|
<Term>TT_ERR_NOMP</Term>
|
|
<ListItem>
|
|
<Para>The
|
|
&cdeman.ttsession; process is not running and the ToolTalk service cannot restart it.
|
|
</Para>
|
|
</ListItem>
|
|
</VarListEntry>
|
|
<VarListEntry>
|
|
<Term>TT_ERR_NUM</Term>
|
|
<ListItem>
|
|
<Para>The integer value passed was invalid (out of range).
|
|
</Para>
|
|
</ListItem>
|
|
</VarListEntry>
|
|
<VarListEntry>
|
|
<Term>TT_ERR_SESSION</Term>
|
|
<ListItem>
|
|
<Para>The specified ToolTalk session is out of date or invalid.
|
|
</Para>
|
|
</ListItem>
|
|
</VarListEntry>
|
|
</VariableList>
|
|
</RefSect1>
|
|
<RefSect1>
|
|
<Title>APPLICATION USAGE</Title>
|
|
<Para>The application should use
|
|
&cdeman.tt.free; to free any data stored in the address returned by the
|
|
ToolTalk API.
|
|
</Para>
|
|
</RefSect1>
|
|
<RefSect1>
|
|
<Title>SEE ALSO</Title>
|
|
<Para>&cdeman.Tt.tt.c.h;, &cdeman.tt.ptr.error;, &cdeman.tt.free;.</Para>
|
|
</RefSect1>
|
|
</RefEntry>
|
|
<!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->
|