Move top of the file "#pragma once" to after the following comment (swap them). If the comment is a BPL update it to the latest one

This commit is contained in:
Niclas Antti 2018-08-21 13:13:15 +03:00
parent 03cefcc4ac
commit 24ab3c099c
204 changed files with 414 additions and 420 deletions

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <stdlib.h>
#include <stdio.h>

View File

@ -1,4 +1,3 @@
#pragma once
/* Copyright (c) 2017, MariaDB Corporation. All rights reserved.
*
* This library is free software; you can redistribute it and/or
@ -16,6 +15,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301 USA
*/
#pragma once
#include <cstdint>
#include <string>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/ccdefs.hh>
#include <maxscale/filter.hh>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/ccdefs.hh>
#include <maxscale/filter.hh>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/cdefs.h>
#include <stdlib.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file authenticator.h

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/ccdefs.hh>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file buffer.h Definitions relating the gateway buffer manipulation facilities.

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/ccdefs.hh>
#include <algorithm>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file ccdefs.hh

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file cdefs.h

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/cdefs.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file include/maxscale/config.h The configuration handling elements

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/config.h>

View File

@ -1,16 +1,16 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
*
* Change Date: 2019-07-01
* Change Date: 2022-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/ccdefs.hh>
#include <maxscale/log.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file dcb.h The Descriptor Control Block

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/cdefs.h>
#include <signal.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/cdefs.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/ccdefs.hh>
#include <syslog.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file include/maxscale/filter.h - The public filter interface

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/ccdefs.hh>
#include <maxscale/filter.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file hashtable.h A general purpose hashtable mechanism for use within the

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file hint.h The generic hint data that may be attached to buffers

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file housekeeper.h A mechanism to have task run periodically

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/ccdefs.hh>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/ccdefs.hh>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file Helper functions for creating JSON API conforming objects

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file limits.h

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file listener.h

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/cdefs.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/ccdefs.hh>
#include <mysql.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/cdefs.h>
#include <maxscale/paths.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file include/maxscale/maxscale.h Some general definitions for MaxScale

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file modinfo.h The module information interface

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file module_command.h Module driven commands

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file modutil.h A set of useful routines for module writers

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file modutil.hh C++ additions/alternatives for modutil.h functions

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file include/maxscale/monitor.h - The public monitor interface

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/ccdefs.hh>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file mysql_binlog.h - Extracting information from binary logs

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/cdefs.h>
#include <stdlib.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -10,8 +9,8 @@
* On the date above, in accordance with the Business Source License, use
* of this software will be governed by version 2 or later of the General
* Public License.
*
*/
#pragma once
/**
* @file pcre2.h - Utility functions for regular expression matching

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/ccdefs.hh>
#include <maxscale/pcre2.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file include/maxscale/poll.h - The public poll interface

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file protocol.h

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/ccdefs.hh>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/cdefs.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/cdefs.h>
#include <maxbase/jansson.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/ccdefs.hh>
#include <string>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/cdefs.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/ccdefs.hh>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file router.h - The query router public interface definition

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/ccdefs.hh>
#include <maxscale/router.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file routing.h - Common definitions and declarations for routers and filters.

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/cdefs.h>
#include <maxbase/worker.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file include/maxscale/secrets.h - MaxScale config file password decryption

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file server.h

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/ccdefs.hh>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file service.h

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file include/maxscale/session.h - The public session interface

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/ccdefs.hh>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file spinlock.h

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/ccdefs.hh>
#include <maxscale/spinlock.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file sqlite3.h

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file ssl.h

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file statistics.h - Lock-free statistics gathering

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file users.h The functions to manipulate a set of administrative users

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file utils.h Utility functions headers

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/ccdefs.hh>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/cdefs.h>
#include <signal.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file atomic.h Atomic operations on integers.

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/cdefs.h>
#include <jansson.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/cdefs.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/ccdefs.hh>
#include <stdexcept>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/ccdefs.hh>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/cdefs.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/ccdefs.hh>
#include <stdexcept>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/ccdefs.hh>
#include <maxbase/poll.hh>

View File

@ -1,9 +1,8 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl.
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
*
* Change Date: 2022-01-01
*
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/cdefs.h>
#include <sys/epoll.h>

View File

@ -1,9 +1,8 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl.
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
*
* Change Date: 2022-01-01
*
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/ccdefs.hh>
#include <maxbase/poll.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file semaphore.h Semaphores used by MaxScale.

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/ccdefs.hh>
#include <cerrno>

View File

@ -1,4 +1,3 @@
#pragma once
/*
* Copyright (c) 2018 MariaDB Corporation Ab
*
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/ccdefs.hh>
#include <unistd.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/cdefs.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/cdefs.h>
#include <maxbase/poll.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/ccdefs.hh>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/ccdefs.hh>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <stdbool.h>
#include <stdint.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/ccdefs.hh>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file core/maxscale/config.h - The private config interface

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file config_runtime.h - Functions for runtime configuration modifications

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/dcb.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/ccdefs.hh>
#include <maxscale/event.hh>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/cdefs.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file core/maxscale/filter.h - The private filter interface

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/ccdefs.hh>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/ccdefs.hh>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file core/maxscale/maxscale.h - The private maxscale general definitions

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file modules.h Utilities for loading modules

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include "modules.h"

Some files were not shown because too many files have changed in this diff Show More