123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- <!-- $XConsortium: xarg_add.sgm /main/7 1996/08/30 14:23:39 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.MAN212.rsml.1">]]>
- <![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN212.rsml.1">]]>
- <RefMeta>
- <RefEntryTitle>tt_pattern_xarg_add</RefEntryTitle>
- <ManVolNum>library call</ManVolNum>
- </RefMeta>
- <RefNameDiv>
- <RefName><Function>tt_pattern_xarg_add</Function></RefName>
- <RefPurpose>add a new argument with an interpreted XDR value to a pattern object
- </RefPurpose>
- </RefNameDiv>
- <RefSynopsisDiv>
- <FuncSynopsis Remap="ANSI">
- <FuncSynopsisInfo>#include <Tt/tt_c.h>
- </FuncSynopsisInfo>
- <FuncDef>Tt_status <Function>tt_pattern_xarg_add</Function></FuncDef>
- <ParamDef>Tt_pattern <Parameter>m</Parameter></ParamDef>
- <ParamDef>Tt_mode <Parameter>n</Parameter></ParamDef>
- <ParamDef>const char *<Parameter>vtype</Parameter></ParamDef>
- <ParamDef>xdrproc_t <Parameter>xdr_proc</Parameter></ParamDef>
- <ParamDef>void *<Parameter>value</Parameter></ParamDef>
- </FuncSynopsis>
- </RefSynopsisDiv>
- <RefSect1>
- <Title>DESCRIPTION</Title>
- <Para>The
- <Function>tt_pattern_xarg_add</Function> function
- adds a new argument with an interpreted XDR value to a pattern object.
- </Para>
- <Para>The
- <Emphasis>m</Emphasis> argument is the opaque handle for the pattern involved in this operation.
- The
- <Symbol Role="Variable">n</Symbol> argument specifies who (sender, handler, observers) writes and reads a pattern
- argument.
- The following modes are defined:
- </Para>
- <VariableList>
- <VarListEntry>
- <Term>TT_IN</Term>
- <ListItem>
- <Para>The argument is written by the sender and read by the
- handler and any observers.
- </Para>
- </ListItem>
- </VarListEntry>
- <VarListEntry>
- <Term>TT_OUT</Term>
- <ListItem>
- <Para>The argument is written by the handler and read by the
- sender and any reply observers.
- </Para>
- </ListItem>
- </VarListEntry>
- <VarListEntry>
- <Term>TT_INOUT</Term>
- <ListItem>
- <Para>The argument is written by the sender and the
- handler and read by all.
- </Para>
- </ListItem>
- </VarListEntry>
- </VariableList>
- <Para>The
- <Emphasis>vtype</Emphasis> argument describes the type of argument data being added.
- The
- <Emphasis>xdr_proc</Emphasis> argument points to the XDR procedure to be used to serialize the data
- pointed to by
- <Symbol Role="Variable">value</Symbol>. The
- <Symbol Role="Variable">value</Symbol> argument is the data to be serialized.
- </Para>
- </RefSect1>
- <RefSect1>
- <Title>RETURN VALUE</Title>
- <Para>Upon successful completion, the
- <Function>tt_pattern_xarg_add</Function> function returns the status of the operation as one of the following
- <StructName Role="typedef">Tt_status</StructName> values:
- </Para>
- <VariableList>
- <VarListEntry>
- <Term>TT_OK</Term>
- <ListItem>
- <Para>The operation completed successfully.
- </Para>
- </ListItem>
- </VarListEntry>
- <VarListEntry>
- <Term>TT_ERR_MODE</Term>
- <ListItem>
- <Para>The specified
- <StructName Role="typedef">Tt_mode</StructName> is invalid.
- </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_POINTER</Term>
- <ListItem>
- <Para>The pointer passed does not point to an object of
- the correct type for this operation.
- </Para>
- </ListItem>
- </VarListEntry>
- <VarListEntry>
- <Term>TT_ERR_XDR</Term>
- <ListItem>
- <Para>The XDR procedure failed on the given data, or evaluated to a
- zero-length expression.
- </Para>
- </ListItem>
- </VarListEntry>
- </VariableList>
- </RefSect1>
- <RefSect1>
- <Title>SEE ALSO</Title>
- <Para>&cdeman.Tt.tt.c.h;
- </Para>
- </RefSect1>
- </RefEntry>
- <!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->
|