---
name: "njb_songid_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_struct"
---

# njb\_songid\_struct(3)

## NAME

njb\_songid\_struct -

## SYNOPSIS

`#include <libnjb.h>`

### Data Fields

u\_int32\_t **trid**\
 u\_int16\_t **nframes**\
 **njb\_songid\_frame\_t** \* **first**\
 **njb\_songid\_frame\_t** \* **last**\
 **njb\_songid\_frame\_t** \* **cur**\
 **njb\_songid\_t** \* **next**\

## Detailed Description

The song ID struct is used for holding metadata about a particular track.

**Examples:**

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

## Field Documentation

### njb\_songid\_frame\_t\* njb\_songid\_struct::cur A pointer to the current frame

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

### njb\_songid\_frame\_t\* njb\_songid\_struct::first A pointer to the first frame

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

### njb\_songid\_frame\_t\* njb\_songid\_struct::last A pointer to the last frame

Referenced by NJB\_Songid\_Addframe().

### njb\_songid\_t\* njb\_songid\_struct::next Used internally on series 3 devices for spanning lists of song IDs only

Referenced by NJB\_Songid\_New().

### u\_int16\_t njb\_songid\_struct::nframes The number of frames in this song ID

Referenced by NJB\_Songid\_Addframe(), songid\_pack(), and songid\_pack3().

### u\_int32\_t njb\_songid\_struct::trid The track ID as used on the device

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

## Author

Generated automatically by Doxygen for libnjb from the source code.
