myMPD
Internal API documentation
Loading...
Searching...
No Matches
fields.h File Reference

Fields handling. More...

#include "src/lib/sticker.h"
Include dependency graph for fields.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  t_mympd_mpd_tags
struct  t_stickers
struct  t_fields

Enumerations

enum  sort_by_type { SORT_BY_TAG , SORT_BY_LAST_MODIFIED , SORT_BY_ADDED , SORT_BY_FILENAME }

Functions

void fields_clone (struct t_fields *src_fields, struct t_fields *dst_fields)
void fields_reset (struct t_fields *fields)
void stickers_reset (struct t_stickers *stickers)
void stickers_enable_all (struct t_stickers *stickers, enum mympd_sticker_type sticker_type)
void mympd_mpd_tags_clone (struct t_mympd_mpd_tags *src_mpd_tags, struct t_mympd_mpd_tags *dst_mympd_mpd_tags)
void mympd_mpd_tags_reset (struct t_mympd_mpd_tags *mpd_tags)

Detailed Description

Fields handling.

Enumeration Type Documentation

◆ sort_by_type

Sort type enums

Function Documentation

◆ fields_clone()

void fields_clone ( struct t_fields * src_fields,
struct t_fields * dst_fields )

Copy a struct t_fields to another one

Parameters
src_fieldssource
dst_fieldsdestination

◆ fields_reset()

void fields_reset ( struct t_fields * fields)

(Re-)initializes a t_fields struct

Parameters
fieldspointer to t_fields struct

◆ mympd_mpd_tags_clone()

void mympd_mpd_tags_clone ( struct t_mympd_mpd_tags * src_mpd_tags,
struct t_mympd_mpd_tags * dst_mympd_mpd_tags )

Copy a struct t_mympd_mpd_tags to another one

Parameters
src_mpd_tagssource
dst_mympd_mpd_tagsdestination

◆ mympd_mpd_tags_reset()

void mympd_mpd_tags_reset ( struct t_mympd_mpd_tags * mpd_tags)

(Re-)initializes a t_mympd_mpd_tags struct

Parameters
mpd_tagspointer to t_mympd_mpd_tags struct

◆ stickers_enable_all()

void stickers_enable_all ( struct t_stickers * stickers,
enum mympd_sticker_type sticker_type )

Enables all stickers

Parameters
stickerspointer to t_stickers struct
sticker_typemyMPD sticker type

◆ stickers_reset()

void stickers_reset ( struct t_stickers * stickers)

(Re-)initializes a t_fields struct

Parameters
stickerspointer to t_stickers struct