XMMS2
Typedefs | Enumerations | Functions
medialib_query.c File Reference
#include <xmms_configuration.h>
#include <xmmspriv/xmms_medialib.h>
#include <xmmspriv/xmms_xform.h>
#include <xmmspriv/xmms_utils.h>
#include <xmms/xmms_error.h>
#include <xmms/xmms_config.h>
#include <xmms/xmms_object.h>
#include <xmms/xmms_ipc.h>
#include <xmms/xmms_log.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <glib.h>
#include <glib/gstdio.h>
#include <time.h>
#include <xmmspriv/xmms_fetch_info.h>
#include <xmmspriv/xmms_fetch_spec.h>
#include "s4.h"

Typedefs

typedef enum xmms_sort_type_St xmms_sort_type_t
 

Enumerations

enum  xmms_sort_type_St { SORT_TYPE_COLUMN, SORT_TYPE_RANDOM, SORT_TYPE_LIST }
 

Functions

s4_resultset_txmms_medialib_query_recurs (xmms_medialib_session_t *session, xmmsv_t *coll, xmms_fetch_info_t *fetch)
 Internal function that does the actual querying. More...
 

Typedef Documentation

Enumeration Type Documentation

Enumerator
SORT_TYPE_COLUMN 
SORT_TYPE_RANDOM 
SORT_TYPE_LIST 

Function Documentation

s4_resultset_t* xmms_medialib_query_recurs ( xmms_medialib_session_t session,
xmmsv_t coll,
xmms_fetch_info_t fetch 
)

Internal function that does the actual querying.

Parameters
collThe collection to use when querying
fetchInformation on what is being fetched
Returns
An S4 resultset correspoding to the entires in the medialib matching the collection. Must be free with s4_resultset_free

Referenced by xmms_medialib_query().