DTDTS(5)

πŸ“¦
version 2.5.3 Β· 2 versions
, in nixos 26.05

πŸ’… 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