libnjb: njb_songid_frame_struct Struct Reference

- Main Page
- Modules
- Data Structures
- Files
- Directories
- Examples

- Data Structures
- Data Fields

# njb_songid_frame_struct Struct Reference

`#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

char* njb_songid_frame_struct::label

terminated string with frame type

Examples:
  tracks.c.

u_int8_t njb_songid_frame_struct::type

this tells us which subtype it is

Examples:
  tracks.c.

char* njb_songid_frame_struct::strval

A string value

Examples:
  tracks.c.

u_int8_t njb_songid_frame_struct::u_int8_val

An 8 bit unsigned integer value

u_int16_t njb_songid_frame_struct::u_int16_val

A 16 bit unsigned integer value

Examples:
  tracks.c.

u_int32_t njb_songid_frame_struct::u_int32_val

A 32 bit unsigned integer value

Examples:
  gettr.c, and tracks.c.

u_int64_t njb_songid_frame_struct::u_int64_val

A 64 bit unsigned integer value

union { ... } njb_songid_frame_struct::data

This is a union of possible frame types

Examples:
  gettr.c, and tracks.c.

njb_songid_frame_t* njb_songid_frame_struct::next

A pointer to the next frame following this one in the song ID

The documentation for this struct was generated from the following file:

- /tmp/libnjb-2.2.6/src/libnjb.h