1999.6.1
by kalebral at gmail
update Copyright strings to a more common format to help with creating the master debian copyright file |
1 |
/* Copyright (C) 2010 PrimeBase Technologies GmbH, Germany
|
1548.2.2
by Barry.Leslie at PrimeBase
A lot of minor changes to clean up the code and to get it to build with Drizzle. |
2 |
*
|
3 |
* PrimeBase Media Stream for MySQL
|
|
4 |
*
|
|
5 |
* This program is free software; you can redistribute it and/or modify
|
|
6 |
* it under the terms of the GNU General Public License as published by
|
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
|
8 |
* (at your option) any later version.
|
|
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 General Public License for more details.
|
|
14 |
*
|
|
15 |
* You should have received a copy of the GNU General Public License
|
|
16 |
* along with this program; if not, write to the Free Software
|
|
1802.10.2
by Monty Taylor
Update all of the copyright headers to include the correct address. |
17 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
1548.2.2
by Barry.Leslie at PrimeBase
A lot of minor changes to clean up the code and to get it to build with Drizzle. |
18 |
*
|
19 |
* Barry Leslie
|
|
20 |
*
|
|
21 |
* 2010-05-25
|
|
22 |
*
|
|
23 |
* PBMS daemon global parameters.
|
|
24 |
*
|
|
25 |
*/
|
|
26 |
||
2234
by Brian Aker
Mass removal of ifdef/endif in favor of pragma once. |
27 |
#pragma once
|
1548.2.2
by Barry.Leslie at PrimeBase
A lot of minor changes to clean up the code and to get it to build with Drizzle. |
28 |
#ifndef __PARAMETERS_MS_H__
|
29 |
#define __PARAMETERS_MS_H__
|
|
30 |
||
1976.2.1
by Monty Taylor
Updated PBMS. |
31 |
#ifdef DRIZZLED
|
32 |
namespace drizzled { namespace module { |
|
33 |
class Context; |
|
34 |
class option_context; |
|
35 |
}}
|
|
36 |
#endif
|
|
37 |
||
1548.2.2
by Barry.Leslie at PrimeBase
A lot of minor changes to clean up the code and to get it to build with Drizzle. |
38 |
class PBMSParameters { |
39 |
public: |
|
1976.2.1
by Monty Taylor
Updated PBMS. |
40 |
#ifdef DRIZZLED
|
41 |
static void startUp(drizzled::module::Context &context); |
|
42 |
||
43 |
static void initOptions(drizzled::module::option_context &context); |
|
1548.2.7
by Barry.Leslie at PrimeBase
Fixed some problems with transactions and drizzle. |
44 |
|
1976.2.1
by Monty Taylor
Updated PBMS. |
45 |
#else
|
46 |
static void startUp(); |
|
47 |
||
48 |
#endif
|
|
1548.2.7
by Barry.Leslie at PrimeBase
Fixed some problems with transactions and drizzle. |
49 |
static void shutDown(){} |
1976.2.1
by Monty Taylor
Updated PBMS. |
50 |
|
1548.2.3
by Barry.Leslie at PrimeBase
Added drizzle event observer class to PBMS as well as a lot of mostly minor changes for drizzle compatability. |
51 |
static uint32_t getPortNumber(); |
52 |
||
53 |
static uint32_t getServerID(); |
|
54 |
||
55 |
static uint64_t getRepoThreshold(); |
|
56 |
||
57 |
static uint64_t getTempLogThreshold(); |
|
58 |
||
59 |
static uint32_t getTempBlobTimeout(); |
|
60 |
||
61 |
static uint32_t getGarbageThreshold(); |
|
62 |
||
63 |
static uint32_t getMaxKeepAlive(); |
|
64 |
||
1644.3.1
by Barry.Leslie at PrimeBase
Merged in changes from PBMS project. |
65 |
static uint32_t getBackupDatabaseID(); |
66 |
static void setBackupDatabaseID(uint32_t id); |
|
1548.2.3
by Barry.Leslie at PrimeBase
Added drizzle event observer class to PBMS as well as a lot of mostly minor changes for drizzle compatability. |
67 |
|
68 |
static const char *getDefaultMetaDataHeaders(); |
|
69 |
||
1548.2.11
by Barry.Leslie at PrimeBase
Removed libxml reqirement by using a home grown xml parser. |
70 |
#ifdef DRIZZLED
|
1548.2.3
by Barry.Leslie at PrimeBase
Added drizzle event observer class to PBMS as well as a lot of mostly minor changes for drizzle compatability. |
71 |
static void blackListedDB(const char *db); |
72 |
||
73 |
static bool isBlackListedDB(const char *db); |
|
74 |
||
75 |
static bool isBLOBDatabase(const char *db); |
|
76 |
||
77 |
static bool isBLOBTable(const char *db, const char *table); |
|
78 |
||
79 |
static bool isPBMSEventsEnabled(); |
|
80 |
||
81 |
static int32_t getBeforeUptateEventPosition(); |
|
82 |
||
83 |
static int32_t getBeforeInsertEventPosition(); |
|
1841.1.3
by Barry.Leslie at PrimeBase
Merged changes from lp:pbms. These changes should remove any danger |
84 |
|
85 |
private: |
|
86 |
static bool try_LocateDB(CSThread *self, const char *db, bool *found); |
|
87 |
static bool try_LocateTable(CSThread *self, const char *db, const char *table, bool *found); |
|
88 |
||
1548.2.3
by Barry.Leslie at PrimeBase
Added drizzle event observer class to PBMS as well as a lot of mostly minor changes for drizzle compatability. |
89 |
#endif
|
1548.2.2
by Barry.Leslie at PrimeBase
A lot of minor changes to clean up the code and to get it to build with Drizzle. |
90 |
};
|
91 |
||
1548.2.16
by Barry.Leslie at PrimeBase
Code cleanup. |
92 |
#endif // __PARAMETERS_MS_H__ |