| Line | Revision | Contents |
| 1 | 449 | /* Calliope Music Player |
| 2 | * Copyright 2005-09 Sam Thursfield <ssssam gmail.com> | |
| 3 | * | |
| 4 | * This program is free software: you can redistribute it and/or modify | |
| 5 | * it under the terms of the GNU General Public License as published by | |
| 6 | * the Free Software Foundation, either version 3 of the License, or | |
| 7 | * (at your option) any later version. | |
| 8 | * | |
| 9 | * This program is distributed in the hope that it will be useful, | |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | * GNU General Public License for more details. | |
| 13 | * | |
| 14 | * You should have received a copy of the GNU General Public License | |
| 15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 16 | */ | |
| 17 | ||
| 18 | /* It's completely deliberate no prefixes are used here - it's a private header, and there | |
| 19 | * is no way I am dealing with a MUSIC_SOURCE_VIEW_NODE prefix in any case. */ | |
| 20 | ||
| 21 | #ifndef _LIBRARY_PRIVATE | |
| 22 | #define _LIBRARY_PRIVATE | |
| 23 | ||
| 24 | 450 | #include <glib.h> |
| 25 | 449 | #include "library.h" |
| 26 | ||
| 27 | 450 | #ifndef LIBRARY_DISABLE |
| 28 | ||
| 29 | 449 | char **db_query_printf(Library *db, int *rows, int *columns, GError **perror, const char *format, ...); |
| 30 | ||
| 31 | // FIXME: only used for creating indices .. | |
| 32 | void db_action_printf(Library *db, GError **perror, const char *format, ...); | |
| 33 | ||
| 34 | gint64 db_expression_printf(Library *db, GError **perror, const char *format, ...); | |
| 35 | ||
| 36 | void _db_append_join (EntryType local_type, int local_property_id, EntryType foreign_type, | |
| 37 | GString *joins, gboolean *join_flags); | |
| 38 | void _db_append_property_query (EntryType entry_type, int property_id, GString *projection, | |
| 39 | gboolean comma_flag, GString *joins, gboolean *join_flags); | |
| 40 | ||
| 41 | #endif | |
| 42 | 450 | |
| 43 | #endif |
Loggerhead is a web-based interface for Bazaar branches