---
name: "njb_songid_frame_struct"
section: "3"
platform: "linux"
package: "libnjb-doc"
version: "2.2.5-4.3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/njb_songid_frame_struct"
---

# njb\_songid\_frame\_struct(3)

## NAME

njb\_songid\_frame\_struct -

## SYNOPSIS

`#include <libnjb.h>`

### Data Fields

char \* **label**\
 u\_int8\_t **type**\
 union {\
    char \* **strval**\
    u\_int8\_t **u\_int8\_val**\
    u\_int16\_t **u\_int16\_val**\
    u\_int32\_t **u\_int32\_val**\
    u\_int64\_t **u\_int64\_val**\
 } **data**\
 **njb\_songid\_frame\_t** \* **next**\

## Detailed Description

The song ID frame struct, one song ID has many such frames, stored as a linked list.

**Examples:**

**gettr.c**, **sendtr.c**, **tagtr.c**, and **tracks.c**.

## Field Documentation

### union { ... } njb\_songid\_frame\_struct::data This is a union of possible frame types

**Examples:**  **gettr.c**, and **tracks.c**.

Referenced by NJB\_Replace\_Track\_Tag(), NJB\_Songid\_Frame\_Destroy(), NJB\_Songid\_Frame\_New\_String(), NJB\_Songid\_Frame\_New\_Uint16(), NJB\_Songid\_Frame\_New\_Uint32(), songid\_pack(), songid\_pack3(), and songid\_sanity\_check().

### char\* njb\_songid\_frame\_struct::label terminated string with frame type

**Examples:**  **tracks.c**.

Referenced by NJB\_Replace\_Track\_Tag(), NJB\_Songid\_Findframe(), NJB\_Songid\_Frame\_Destroy(), NJB\_Songid\_Frame\_New\_String(), NJB\_Songid\_Frame\_New\_Uint16(), NJB\_Songid\_Frame\_New\_Uint32(), songid\_pack(), songid\_pack3(), and songid\_sanity\_check().

### njb\_songid\_frame\_t\* njb\_songid\_frame\_struct::next A pointer to the next frame following this one in the song ID

Referenced by NJB\_Songid\_Addframe(), and NJB\_Songid\_Getframe().

### char\* njb\_songid\_frame\_struct::strval A string value

**Examples:**  **tracks.c**.

Referenced by NJB\_Replace\_Track\_Tag(), NJB\_Songid\_Frame\_Destroy(), NJB\_Songid\_Frame\_New\_String(), songid\_pack(), songid\_pack3(), and songid\_sanity\_check().

### u\_int8\_t njb\_songid\_frame\_struct::type this tells us which subtype it is

**Examples:**  **tracks.c**.

Referenced by NJB\_Replace\_Track\_Tag(), NJB\_Songid\_Frame\_Destroy(), NJB\_Songid\_Frame\_New\_String(), NJB\_Songid\_Frame\_New\_Uint16(), NJB\_Songid\_Frame\_New\_Uint32(), songid\_pack(), and songid\_sanity\_check().

### u\_int16\_t njb\_songid\_frame\_struct::u\_int16\_val A 16 bit unsigned integer value

**Examples:**  **tracks.c**.

Referenced by NJB\_Replace\_Track\_Tag(), NJB\_Songid\_Frame\_New\_Uint16(), songid\_pack(), songid\_pack3(), and songid\_sanity\_check().

### u\_int32\_t njb\_songid\_frame\_struct::u\_int32\_val A 32 bit unsigned integer value

**Examples:**  **gettr.c**, and **tracks.c**.

Referenced by NJB\_Replace\_Track\_Tag(), NJB\_Songid\_Frame\_New\_Uint32(), songid\_pack(), and songid\_sanity\_check().

### u\_int64\_t njb\_songid\_frame\_struct::u\_int64\_val A 64 bit unsigned integer value

### u\_int8\_t njb\_songid\_frame\_struct::u\_int8\_val An 8 bit unsigned integer value

## Author

Generated automatically by Doxygen for libnjb from the source code.
