src/lib/lightmediascanner.c File Reference

#include <dlfcn.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "lightmediascanner.h"
#include "lightmediascanner_private.h"
#include "lightmediascanner_plugin.h"

Include dependency graph for lightmediascanner.c:

Go to the source code of this file.

Defines

#define DEFAULT_SLAVE_TIMEOUT   1000
#define DEFAULT_COMMIT_INTERVAL   100

Functions

lms_tlms_new (const char *db_path)
int lms_free (lms_t *lms)
lms_plugin_tlms_parser_add (lms_t *lms, const char *so_path)
lms_plugin_tlms_parser_find_and_add (lms_t *lms, const char *name)
int lms_parser_del_int (lms_t *lms, int i)
int lms_parser_del (lms_t *lms, lms_plugin_t *handle)
int lms_is_processing (const lms_t *lms)
const char * lms_get_db_path (const lms_t *lms)
int lms_get_slave_timeout (const lms_t *lms)
void lms_set_slave_timeout (lms_t *lms, int ms)
unsigned int lms_get_commit_interval (const lms_t *lms)
void lms_set_commit_interval (lms_t *lms, unsigned int transactions)
int lms_charset_add (lms_t *lms, const char *charset)
int lms_charset_del (lms_t *lms, const char *charset)


Define Documentation

#define DEFAULT_COMMIT_INTERVAL   100

Definition at line 35 of file lightmediascanner.c.

Referenced by lms_new().

#define DEFAULT_SLAVE_TIMEOUT   1000

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.

Author:
Gustavo Sverzut Barbieri <gustavo.barbieri@openbossa.org>

Definition at line 34 of file lightmediascanner.c.

Referenced by lms_new().


Function Documentation

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().


Generated on Thu Dec 13 02:04:03 2007 for Light Media Scanner by  doxygen 1.5.2