#include "lightmediascanner.h"
#include "lightmediascanner_plugin.h"
#include "lightmediascanner_charset_conv.h"
#include <sys/types.h>
#include <poll.h>
#include <limits.h>
#include <sqlite3.h>
Include dependency graph for lightmediascanner_private.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | fds |
struct | pinfo |
struct | parser |
struct | lms |
Defines | |
#define | _LIGHTMEDIASCANNER_PRIVATE_H_ 1 |
#define | GNUC_NON_NULL(...) |
#define | PATH_SIZE PATH_MAX |
Functions | |
int | lms_parser_del_int (lms_t *lms, int i) GNUC_NON_NULL(1) |
int | lms_create_pipes (struct pinfo *pinfo) GNUC_NON_NULL(1) |
int | lms_close_pipes (struct pinfo *pinfo) GNUC_NON_NULL(1) |
int | lms_create_slave (struct pinfo *pinfo, int(*work)(lms_t *lms, struct fds *fds)) GNUC_NON_NULL(1 |
int int | lms_restart_slave (struct pinfo *pinfo, int(*work)(lms_t *lms, struct fds *fds)) GNUC_NON_NULL(1 |
int int int | lms_finish_slave (struct pinfo *pinfo, int(*finish)(const struct fds *fds)) GNUC_NON_NULL(1 |
int int int int | lms_parsers_setup (lms_t *lms, sqlite3 *db) GNUC_NON_NULL(1 |
int int int int int | lms_parsers_start (lms_t *lms, sqlite3 *db) GNUC_NON_NULL(1 |
int int int int int int | lms_parsers_finish (lms_t *lms, sqlite3 *db) GNUC_NON_NULL(1 |
int int int int int int int | lms_parsers_check_using (lms_t *lms, void **parser_match, struct lms_file_info *finfo) GNUC_NON_NULL(1 |
int int int int int int int int | lms_parsers_run (lms_t *lms, sqlite3 *db, void **parser_match, struct lms_file_info *finfo) GNUC_NON_NULL(1 |
#define _LIGHTMEDIASCANNER_PRIVATE_H_ 1 |
Copyright (C) 2007 by INdT
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Definition at line 22 of file lightmediascanner_private.h.
#define GNUC_NON_NULL | ( | ... | ) |
Definition at line 31 of file lightmediascanner_private.h.
#define PATH_SIZE PATH_MAX |
Definition at line 42 of file lightmediascanner_private.h.
Referenced by lms_check(), and lms_process().
int lms_close_pipes | ( | struct pinfo * | pinfo | ) |
Definition at line 566 of file lightmediascanner_process.c.
References pinfo::master, and pinfo::slave.
Referenced by lms_check(), and lms_process().
int lms_create_pipes | ( | struct pinfo * | pinfo | ) |
Definition at line 577 of file lightmediascanner_process.c.
References pinfo::master, pinfo::poll, fds::r, pinfo::slave, and fds::w.
Referenced by lms_check(), and lms_process().
Referenced by lms_process(), and lms_restart_slave().
Referenced by lms_process().
int lms_parser_del_int | ( | lms_t * | lms, | |
int | i | |||
) |
Definition at line 249 of file lightmediascanner.c.
References lms::n_parsers, and lms::parsers.
Referenced by lms_parser_del(), lms_parsers_setup(), and lms_parsers_start().
int int int int int int int lms_parsers_check_using | ( | lms_t * | lms, | |
void ** | parser_match, | |||
struct lms_file_info * | finfo | |||
) |
int int int int int int lms_parsers_finish | ( | lms_t * | lms, | |
sqlite3 * | db | |||
) |
int int int int int int int int lms_parsers_run | ( | lms_t * | lms, | |
sqlite3 * | db, | |||
void ** | parser_match, | |||
struct lms_file_info * | finfo | |||
) |
int int int int lms_parsers_setup | ( | lms_t * | lms, | |
sqlite3 * | db | |||
) |
int int int int int lms_parsers_start | ( | lms_t * | lms, | |
sqlite3 * | db | |||
) |