ncmpc  0.29
Macros | Functions
db_completion.h File Reference
#include <glib.h>

Go to the source code of this file.

Macros

#define GCMP_TYPE_DIR   (0x01 << 0)
 
#define GCMP_TYPE_FILE   (0x01 << 1)
 
#define GCMP_TYPE_PLAYLIST   (0x01 << 2)
 
#define GCMP_TYPE_RFILE   (GCMP_TYPE_DIR | GCMP_TYPE_FILE)
 
#define GCMP_TYPE_RPLAYLIST   (GCMP_TYPE_DIR | GCMP_TYPE_PLAYLIST)
 

Functions

GList * gcmp_list_from_path (struct mpdclient *c, const gchar *path, GList *list, gint types)
 

Macro Definition Documentation

◆ GCMP_TYPE_DIR

#define GCMP_TYPE_DIR   (0x01 << 0)

◆ GCMP_TYPE_FILE

#define GCMP_TYPE_FILE   (0x01 << 1)

◆ GCMP_TYPE_PLAYLIST

#define GCMP_TYPE_PLAYLIST   (0x01 << 2)

◆ GCMP_TYPE_RFILE

#define GCMP_TYPE_RFILE   (GCMP_TYPE_DIR | GCMP_TYPE_FILE)

◆ GCMP_TYPE_RPLAYLIST

#define GCMP_TYPE_RPLAYLIST   (GCMP_TYPE_DIR | GCMP_TYPE_PLAYLIST)

Function Documentation

◆ gcmp_list_from_path()

GList* gcmp_list_from_path ( struct mpdclient c,
const gchar *  path,
GList *  list,
gint  types 
)

Create a list suitable for GCompletion from path.