DTDTS(5)
π NAME π
okay bestie, welcome to the Dt/Dts.h page from the (file formats) manual section β itβs the data typing definitions header, and it is literally serving C declarations. No cap. π«Ά
β¨ SYNOPSIS β¨
#include &<Dt/Dts.h>
π¦ DESCRIPTION π¦
The Dt/Dts.h header is out here declaring the following structure β and yes, we are keeping it exactly as it appears:
typedef struct _DtDtsAttribute {
char *name;
char *value;
} DtDtsAttribute;
And the header declares the following as functions β every single one, bestie, no skipping, no merging, no invented extras:
DtDtsAttribute **DtDtsBufferToAttributeList(const void *buffer,
const int size,
const char *opt_name);
char *DtDtsBufferToAttributeValue(const void *buffer,
const int size,
const char *attr_name,
const char *opt_name);
char *DtDtsBufferToDataType(const void *buffer,
const int size,
const char *opt_name);
char *DtDtsDataToDataType(const char *filepath,
const void *buffer,
const int size,
const struct stat *stat_buff,
const char *link_path,
const struct stat *link_stat_buff,
const char *opt_name);
int DtDtsDataTypeIsAction(const char *datatype);
char **DtDtsDataTypeNames(void);
DtDtsAttribute **DtDtsDataTypeToAttributeList(const char *datatype,
const char *opt_name);
char *DtDtsDataTypeToAttributeValue(const char *datatype,
const char *attr_name,
const char *opt_name);
DtDtsAttribute **DtDtsFileToAttributeList(const char *filepath);
char *DtDtsFileToAttributeValue(const char *filepath,
const char *attr_name);
char *DtDtsFileToDataType(const char *filepath);
char **DtDtsFindAttribute(const char *attr_name,
const char *attr_value);
void DtDtsFreeAttributeList(DtDtsAttribute **attr_list);
void DtDtsFreeAttributeValue(char *attr_value);
void DtDtsFreeDataType(char *datatype);
void DtDtsFreeDataTypeNames(char **namelist);
void DtDtsLoadDataTypes(void);
void DtDtsRelease(void);
char *DtDtsSetDataType(const char *dirpath,
const char *datatype,
const int override);
Thatβs the whole declaration buffet, bestie πβ¨ Every signature got its moment, and nothing got left in the drafts. π
And thatβs a wrap on the Dt/Dts.h page for (file formats), bestie π Source/version/date check: the footer in this copy is just the Dt/Dts.h page name in (file formats), with no extra source/version or date line attached β so consider this your cute sign-off instead. ππ
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms