MiniDLNA update: 1.0.19.1 to 1.0.20
[tomato.git] / release / src / router / minidlna / tivo_utils.h
blob2f40d3c586fb6c48bdbce680080382f801386156
1 /* TiVo helper functions
3 * Project : minidlna
4 * Website : http://sourceforge.net/projects/minidlna/
5 * Author : Justin Maggard
7 * MiniDLNA media server
8 * Copyright (C) 2009 Justin Maggard
10 * This file is part of MiniDLNA.
12 * MiniDLNA is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License version 2 as
14 * published by the Free Software Foundation.
16 * MiniDLNA is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with MiniDLNA. If not, see <http://www.gnu.org/licenses/>.
24 #include "config.h"
25 #ifdef TIVO_SUPPORT
26 #include <sqlite3.h>
28 struct sqlite3PrngType {
29 unsigned char isInit; /* True if initialized */
30 unsigned char i, j; /* State variables */
31 unsigned char s[256]; /* State variables */
32 } sqlite3Prng;
34 char *
35 decodeString(char * string, int inplace);
37 void
38 TiVoRandomSeedFunc(sqlite3_context *context, int argc, sqlite3_value **argv);
40 #endif