| libpreludedb Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
enum preludedb_selected_path_flags_t; typedef preludedb_path_selection_t; typedef preludedb_selected_path_t; int preludedb_selected_path_new (preludedb_selected_path_t **selected_path,preludedb_selected_object_t *object,preludedb_selected_path_flags_t flags); int preludedb_selected_path_new_string (preludedb_selected_path_t **selected_path,const char *str); void preludedb_selected_path_destroy (preludedb_selected_path_t *selected_path); preludedb_selected_path_flags_t preludedb_selected_path_get_flags (preludedb_selected_path_t *selected_path); int preludedb_path_selection_new (preludedb_t *db,preludedb_path_selection_t **path_selection); void preludedb_path_selection_destroy (preludedb_path_selection_t *path_selection); int preludedb_path_selection_add (preludedb_path_selection_t *path_selection,preludedb_selected_path_t *selected_path); preludedb_selected_path_t * preludedb_path_selection_get_next (preludedb_path_selection_t *path_selection,preludedb_selected_path_t *selected_path); unsigned int preludedb_path_selection_get_count (preludedb_path_selection_t *path_selection);
typedef enum {
PRELUDEDB_SELECTED_PATH_FLAGS_GROUP_BY = 0x20,
PRELUDEDB_SELECTED_PATH_FLAGS_ORDER_ASC = 0x40,
PRELUDEDB_SELECTED_PATH_FLAGS_ORDER_DESC = 0x80
} preludedb_selected_path_flags_t;
int preludedb_selected_path_new (preludedb_selected_path_t **selected_path,preludedb_selected_object_t *object,preludedb_selected_path_flags_t flags);
int preludedb_selected_path_new_string (preludedb_selected_path_t **selected_path,const char *str);
void preludedb_selected_path_destroy (preludedb_selected_path_t *selected_path);
preludedb_selected_path_flags_t preludedb_selected_path_get_flags
(preludedb_selected_path_t *selected_path);
int preludedb_path_selection_new (preludedb_t *db,preludedb_path_selection_t **path_selection);
void preludedb_path_selection_destroy (preludedb_path_selection_t *path_selection);
int preludedb_path_selection_add (preludedb_path_selection_t *path_selection,preludedb_selected_path_t *selected_path);
preludedb_selected_path_t * preludedb_path_selection_get_next (preludedb_path_selection_t *path_selection,preludedb_selected_path_t *selected_path);
unsigned int preludedb_path_selection_get_count (preludedb_path_selection_t *path_selection);