ekg2
Strona główna
Dodatkowe strony
Moduły
Struktury Danych
Pliki
Lista plików
Globalne
All
Struktury Danych
Pliki
Funkcje
Zmienne
Definicje typów
Wyliczenia
Wartości wyliczeń
Definicje
Grupay
Strony
plugins
logsqlite
logsqlite.h
Idź do dokumentacji tego pliku.
1
/* $Id$ */
2
3
/*
4
* (C) Copyright 2005 Leszek Krupiński <leafnode@wafel.com>
5
*
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU Lesser General Public License Version
8
* 2.1 as published by the Free Software Foundation.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU Lesser General Public License for more details.
14
*
15
* You should have received a copy of the GNU Lesser General Public
16
* License along with this program; if not, write to the Free Software
17
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18
*/
19
20
21
#ifndef __LOGSQLITE_H__
22
23
#define __LOGSQLITE_H__
24
25
26
#ifdef HAVE_SQLITE3
27
# include <sqlite3.h>
28
# define sqlite_t sqlite3
29
#else
30
# include <sqlite.h>
31
# define sqlite_t sqlite
32
#endif
33
34
extern
char
*
logsqlite_prepare_path
();
35
extern
QUERY
(
logsqlite_msg_handler
);
36
extern
QUERY
(
logsqlite_status_handler
);
37
extern
int
logsqlite_theme_init
();
38
extern
sqlite_t
*
logsqlite_prepare_db
(
session_t
*
session
, time_t sent,
int
mode);
39
extern
sqlite_t
*
logsqlite_open_db
(
session_t
*
session
, time_t sent,
char
* path);
40
extern
void
logsqlite_close_db
(
sqlite_t
* db);
41
extern
void
logsqlite_setvar_default
();
42
43
extern
char
*
config_logsqlite_path
;
44
extern
int
config_logsqlite_last_in_window
;
45
extern
int
config_logsqlite_last_open_window
;
46
extern
int
config_logsqlite_last_limit_msg
;
47
extern
int
config_logsqlite_last_limit_status
;
48
extern
int
config_logsqlite_last_print_on_open
;
49
extern
int
config_logsqlite_log
;
50
extern
int
config_logsqlite_log_ignored
;
51
extern
int
config_logsqlite_log_status
;
52
53
#endif
Wygenerowano N, 7 lip 2013 09:24:28 dla ekg2 programem
1.8.4