MPD 0.17~git
Data Structures | Defines | Functions | Variables
src/locate.h File Reference
#include "gcc.h"
#include <stdint.h>
#include <stdbool.h>

Go to the source code of this file.

Data Structures

struct  locate_item
struct  locate_item_list
 An array of struct locate_item objects. More...

Defines

#define LOCATE_TAG_FILE_TYPE   TAG_NUM_OF_ITEM_TYPES+10
#define LOCATE_TAG_ANY_TYPE   TAG_NUM_OF_ITEM_TYPES+20

Functions

int locate_parse_type (const char *str)
struct locate_item_listlocate_item_list_new (unsigned length)
 Allocates a new struct locate_item_list, and initializes all members with zero bytes.
 gcc_nonnull (1) struct locate_item_list *locate_item_list_casefold(const struct locate_item_list *list)
 Duplicate the struct locate_item_list object and convert all needles with g_utf8_casefold().
 gcc_nonnull (1, 2) bool locate_song_search(const struct song *song

Variables

int argc
struct locate_item_listcriteria

Define Documentation

#define LOCATE_TAG_ANY_TYPE   TAG_NUM_OF_ITEM_TYPES+20

Definition at line 29 of file locate.h.

#define LOCATE_TAG_FILE_TYPE   TAG_NUM_OF_ITEM_TYPES+10

Definition at line 28 of file locate.h.


Function Documentation

gcc_nonnull ( )

Duplicate the struct locate_item_list object and convert all needles with g_utf8_casefold().

gcc_nonnull ( ,
 
) const
struct locate_item_list* locate_item_list_new ( unsigned  length) [read]

Allocates a new struct locate_item_list, and initializes all members with zero bytes.

int locate_parse_type ( const char *  str)

Variable Documentation

int argc

Definition at line 64 of file locate.h.

Definition at line 85 of file locate.h.