105 lines
4.4 KiB
Plaintext
105 lines
4.4 KiB
Plaintext
<!-- $XConsortium: DtDts.sgm /main/6 1996/09/08 19:58:55 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.MAN322.rsml.1">]]>
|
|
<![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN322.rsml.1">]]>
|
|
<RefMeta>
|
|
<RefEntryTitle>Dt/Dts.h</RefEntryTitle>
|
|
<ManVolNum>file formats</ManVolNum>
|
|
</RefMeta>
|
|
<RefNameDiv>
|
|
<RefName><Filename>Dt/Dts.h</Filename></RefName>
|
|
<RefPurpose>data typing definitions
|
|
</RefPurpose>
|
|
</RefNameDiv>
|
|
<!-- 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>
|
|
<Synopsis>#include <Dt/Dts.h>
|
|
</Synopsis>
|
|
</RefSynopsisDiv>
|
|
<RefSect1>
|
|
<Title>DESCRIPTION</Title>
|
|
<Para>The
|
|
<Filename Role="Header">Dt/Dts.h</Filename> header declares the following structure:
|
|
</Para>
|
|
<InformalExample Remap="indent">
|
|
<ProgramListing>typedef struct _DtDtsAttribute {
|
|
char *<Symbol Role="Variable">name</Symbol>;
|
|
char *<Symbol Role="Variable">value</Symbol>;
|
|
} DtDtsAttribute;
|
|
</ProgramListing>
|
|
</InformalExample>
|
|
<Para>The header declares the following as functions:
|
|
</Para>
|
|
<Synopsis>DtDtsAttribute **DtDtsBufferToAttributeList(const void *<Symbol Role="Variable">buffer</Symbol>,
|
|
const int <Symbol Role="Variable">size</Symbol>,
|
|
const char *<Emphasis>opt_name</Emphasis>);
|
|
</Synopsis>
|
|
<Synopsis>char *DtDtsBufferToAttributeValue(const void *<Symbol Role="Variable">buffer</Symbol>,
|
|
const int <Symbol Role="Variable">size</Symbol>,
|
|
const char *<Emphasis>attr_name</Emphasis>,
|
|
const char *<Emphasis>opt_name</Emphasis>);
|
|
</Synopsis>
|
|
<Synopsis>char *DtDtsBufferToDataType(const void *<Symbol Role="Variable">buffer</Symbol>,
|
|
const int <Symbol Role="Variable">size</Symbol>,
|
|
const char *<Emphasis>opt_name</Emphasis>);
|
|
</Synopsis>
|
|
<Synopsis>char *DtDtsDataToDataType(const char *<Emphasis>filepath</Emphasis>,
|
|
const void *<Symbol Role="Variable">buffer</Symbol>,
|
|
const int <Symbol Role="Variable">size</Symbol>,
|
|
const struct stat *<Emphasis>stat_buff</Emphasis>,
|
|
const char *<Emphasis>link_path</Emphasis>,
|
|
const struct stat *<Emphasis>link_stat_buff</Emphasis>,
|
|
const char *<Emphasis>opt_name</Emphasis>);
|
|
</Synopsis>
|
|
<Synopsis>int DtDtsDataTypeIsAction(const char *<Emphasis>datatype</Emphasis>);
|
|
</Synopsis>
|
|
<Synopsis>char **DtDtsDataTypeNames(void);
|
|
</Synopsis>
|
|
<Synopsis>DtDtsAttribute **DtDtsDataTypeToAttributeList(const char *<Emphasis>datatype</Emphasis>,
|
|
const char *<Emphasis>opt_name</Emphasis>);
|
|
</Synopsis>
|
|
<Synopsis>char *DtDtsDataTypeToAttributeValue(const char *<Emphasis>datatype</Emphasis>,
|
|
const char *<Emphasis>attr_name</Emphasis>,
|
|
const char *<Emphasis>opt_name</Emphasis>);
|
|
</Synopsis>
|
|
<Synopsis>DtDtsAttribute **DtDtsFileToAttributeList(const char *<Emphasis>filepath</Emphasis>);
|
|
</Synopsis>
|
|
<Synopsis>char *DtDtsFileToAttributeValue(const char *<Emphasis>filepath</Emphasis>,
|
|
const char *<Emphasis>attr_name</Emphasis>);
|
|
</Synopsis>
|
|
<Synopsis>char *DtDtsFileToDataType(const char *<Emphasis>filepath</Emphasis>);
|
|
</Synopsis>
|
|
<Synopsis>char **DtDtsFindAttribute(const char *<Emphasis>attr_name</Emphasis>,
|
|
const char *<Emphasis>attr_value</Emphasis>);
|
|
</Synopsis>
|
|
<Synopsis>void DtDtsFreeAttributeList(DtDtsAttribute **<Emphasis>attr_list</Emphasis>);
|
|
</Synopsis>
|
|
<Synopsis>void DtDtsFreeAttributeValue(char *<Emphasis>attr_value</Emphasis>);
|
|
</Synopsis>
|
|
<Synopsis>void DtDtsFreeDataType(char *<Emphasis>datatype</Emphasis>);
|
|
</Synopsis>
|
|
<Synopsis>void DtDtsFreeDataTypeNames(char **<Emphasis>namelist</Emphasis>);
|
|
</Synopsis>
|
|
<Synopsis>void DtDtsLoadDataTypes(void);
|
|
</Synopsis>
|
|
<Synopsis>void DtDtsRelease(void);
|
|
</Synopsis>
|
|
<Synopsis>char *DtDtsSetDataType(const char *<Emphasis>dirpath</Emphasis>,
|
|
const char *<Emphasis>datatype</Emphasis>,
|
|
const int <Emphasis>override</Emphasis>);
|
|
</Synopsis>
|
|
</RefSect1>
|
|
</RefEntry>
|
|
<!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->
|