~ubuntu-branches/ubuntu/trusty/drizzle/trusty-proposed

« back to all changes in this revision

Viewing changes to plugin/pbms/src/systab_enabled_ms.h

  • Committer: Package Import Robot
  • Author(s): Tobias Frost
  • Date: 2012-03-13 12:09:29 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20120313120929-2tj7hvngqltmw1ke
Tags: 2012.01.30-1
* New upstream release. (Closes: #623009)
* Haildb and pbms are no longer part of drizzle.
* Mysql-protocol and unix-socket-protocol are now part of drizzled.
* Add static js plugin (Executes JavaScript) and libv8-dev dependency.
* Enable hardening
* Support for DEB_BUILD_OPTIONS=noopt
* Use dh-autoreconf and add patch autotools.patch to allow
  build-twice-in-a-row
* Removed patch boost-148.patch, no longer needed.
* Added patch fix_spellings.patch
* Removed B-D on libtokyocabinet-dev.
* Added debconf translations. (Closes: #660042, #660625, #660780, #661349,
  #663387, #663115)
* Bump S-V to 3.9.3. Only change is to update debian/copyright (Format: and
  some syntax errors in the file)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 2010 PrimeBase Technologies GmbH, Germany
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
17
 
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
 
 *
19
 
 * Barry Leslie
20
 
 *
21
 
 * System enabled table.
22
 
 *
23
 
 */
24
 
 
25
 
#pragma once
26
 
#ifndef __SYSTAB_ENABLED_H__
27
 
#define __SYSTAB_ENABLED_H__
28
 
 
29
 
#include "defs_ms.h"
30
 
#include "system_table_ms.h"
31
 
#include "discover_ms.h"
32
 
 
33
 
#define ENABLED_TABLE_NAME "pbms_enabled"
34
 
 
35
 
class MSEnabledTable : public MSOpenSystemTable {
36
 
public:
37
 
        MSEnabledTable(MSSystemTableShare *share, TABLE *table);
38
 
        ~MSEnabledTable();
39
 
        
40
 
        void seqScanInit();
41
 
        bool seqScanNext(char *buf);
42
 
        int     getRefLen() { return sizeof(iEnabledIndex);}
43
 
        void seqScanPos(unsigned char *pos );
44
 
        void seqScanRead(unsigned char *pos , char *buf);
45
 
        
46
 
private:
47
 
        uint32_t                        iEnabledIndex;
48
 
};
49
 
 
50
 
extern DT_FIELD_INFO pbms_enabled_info[];
51
 
extern DT_KEY_INFO pbms_enabled_keys[];
52
 
 
53
 
#endif // __SYSTAB_ENABLED_H__