XMMS2
Macros | Functions
relation.c File Reference
#include "s4_priv.h"
#include <stdlib.h>
#include <string.h>

Macros

#define LINEAR_SEARCH_SIZE   0
 

Functions

int _s4_add (s4_transaction_t *trans, const char *key_a, const s4_val_t *val_a, const char *key_b, const s4_val_t *val_b, const char *src)
 Adds a new relation to a database. More...
 
int _s4_add_internal (s4_t *s4, const char *key_a, const s4_val_t *value_a, const char *key_b, const s4_val_t *value_b, const char *src)
 
int _s4_del (s4_transaction_t *trans, const char *key_a, const s4_val_t *val_a, const char *key_b, const s4_val_t *val_b, const char *src)
 Deletes a relation from a database. More...
 
s4_resultset_t_s4_query (s4_transaction_t *trans, s4_fetchspec_t *fs, s4_condition_t *cond)
 Queries a database for all entries matching a condition, then fetches data from them. More...
 
s4_entry_data_t_entry_create_data ()
 
void _entry_free_data (s4_entry_data_t *data)
 
void _free_relations (s4_t *s4)
 Frees all relations in a database. More...
 

Macro Definition Documentation

#define LINEAR_SEARCH_SIZE   0