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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>

View File

@ -1,4 +1,3 @@
#pragma once
/* Copyright (c) 2017, MariaDB Corporation. All rights reserved. /* Copyright (c) 2017, MariaDB Corporation. All rights reserved.
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
@ -16,6 +15,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301 USA * MA 02110-1301 USA
*/ */
#pragma once
#include <cstdint> #include <cstdint>
#include <string> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/ccdefs.hh> #include <maxscale/ccdefs.hh>
#include <maxscale/filter.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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/ccdefs.hh> #include <maxscale/ccdefs.hh>
#include <maxscale/filter.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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/cdefs.h> #include <maxscale/cdefs.h>
#include <stdlib.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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file authenticator.h * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/ccdefs.hh> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file buffer.h Definitions relating the gateway buffer manipulation facilities. * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/ccdefs.hh> #include <maxscale/ccdefs.hh>
#include <algorithm> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file ccdefs.hh * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file cdefs.h * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/cdefs.h> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file include/maxscale/config.h The configuration handling elements * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/config.h> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/ccdefs.hh> #include <maxscale/ccdefs.hh>
#include <maxscale/log.h> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file dcb.h The Descriptor Control Block * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/cdefs.h> #include <maxscale/cdefs.h>
#include <signal.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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/cdefs.h> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/ccdefs.hh> #include <maxscale/ccdefs.hh>
#include <syslog.h> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file include/maxscale/filter.h - The public filter interface * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/ccdefs.hh> #include <maxscale/ccdefs.hh>
#include <maxscale/filter.h> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file hashtable.h A general purpose hashtable mechanism for use within the * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file hint.h The generic hint data that may be attached to buffers * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file housekeeper.h A mechanism to have task run periodically * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/ccdefs.hh> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/ccdefs.hh> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file Helper functions for creating JSON API conforming objects * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file limits.h * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file listener.h * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/cdefs.h> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/ccdefs.hh> #include <maxscale/ccdefs.hh>
#include <mysql.h> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/cdefs.h> #include <maxscale/cdefs.h>
#include <maxscale/paths.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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file include/maxscale/maxscale.h Some general definitions for MaxScale * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file modinfo.h The module information interface * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file module_command.h Module driven commands * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file modutil.h A set of useful routines for module writers * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file modutil.hh C++ additions/alternatives for modutil.h functions * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file include/maxscale/monitor.h - The public monitor interface * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/ccdefs.hh> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file mysql_binlog.h - Extracting information from binary logs * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/cdefs.h> #include <maxscale/cdefs.h>
#include <stdlib.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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*
*/ */
#pragma once
/** /**
* @file pcre2.h - Utility functions for regular expression matching * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/ccdefs.hh> #include <maxscale/ccdefs.hh>
#include <maxscale/pcre2.h> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file include/maxscale/poll.h - The public poll interface * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file protocol.h * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/ccdefs.hh> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/cdefs.h> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/cdefs.h> #include <maxscale/cdefs.h>
#include <maxbase/jansson.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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/ccdefs.hh> #include <maxscale/ccdefs.hh>
#include <string> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/cdefs.h> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/ccdefs.hh> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file router.h - The query router public interface definition * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/ccdefs.hh> #include <maxscale/ccdefs.hh>
#include <maxscale/router.h> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file routing.h - Common definitions and declarations for routers and filters. * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/cdefs.h> #include <maxscale/cdefs.h>
#include <maxbase/worker.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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file include/maxscale/secrets.h - MaxScale config file password decryption * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file server.h * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/ccdefs.hh> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file service.h * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file include/maxscale/session.h - The public session interface * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/ccdefs.hh> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file spinlock.h * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/ccdefs.hh> #include <maxscale/ccdefs.hh>
#include <maxscale/spinlock.h> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file sqlite3.h * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file ssl.h * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file statistics.h - Lock-free statistics gathering * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file users.h The functions to manipulate a set of administrative users * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file utils.h Utility functions headers * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/ccdefs.hh> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxbase/cdefs.h> #include <maxbase/cdefs.h>
#include <signal.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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file atomic.h Atomic operations on integers. * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxbase/cdefs.h> #include <maxbase/cdefs.h>
#include <jansson.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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxbase/cdefs.h> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxbase/ccdefs.hh> #include <maxbase/ccdefs.hh>
#include <stdexcept> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxbase/ccdefs.hh> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxbase/cdefs.h> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxbase/ccdefs.hh> #include <maxbase/ccdefs.hh>
#include <stdexcept> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxbase/ccdefs.hh> #include <maxbase/ccdefs.hh>
#include <maxbase/poll.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 * 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 * Change Date: 2022-01-01
* *
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxbase/cdefs.h> #include <maxbase/cdefs.h>
#include <sys/epoll.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 * 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 * Change Date: 2022-01-01
* *
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxbase/ccdefs.hh> #include <maxbase/ccdefs.hh>
#include <maxbase/poll.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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file semaphore.h Semaphores used by MaxScale. * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxbase/ccdefs.hh> #include <maxbase/ccdefs.hh>
#include <cerrno> #include <cerrno>

View File

@ -1,4 +1,3 @@
#pragma once
/* /*
* Copyright (c) 2018 MariaDB Corporation Ab * Copyright (c) 2018 MariaDB Corporation Ab
* *
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxbase/ccdefs.hh> #include <maxbase/ccdefs.hh>
#include <unistd.h> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxbase/cdefs.h> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/cdefs.h> #include <maxscale/cdefs.h>
#include <maxbase/poll.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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxbase/ccdefs.hh> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxbase/ccdefs.hh> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <stdbool.h> #include <stdbool.h>
#include <stdint.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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/ccdefs.hh> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file core/maxscale/config.h - The private config interface * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file config_runtime.h - Functions for runtime configuration modifications * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/dcb.h> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/ccdefs.hh> #include <maxscale/ccdefs.hh>
#include <maxscale/event.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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/cdefs.h> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file core/maxscale/filter.h - The private filter interface * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/ccdefs.hh> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include <maxscale/ccdefs.hh> #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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file core/maxscale/maxscale.h - The private maxscale general definitions * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
/** /**
* @file modules.h Utilities for loading modules * @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 * Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11. * 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 * of this software will be governed by version 2 or later of the General
* Public License. * Public License.
*/ */
#pragma once
#include "modules.h" #include "modules.h"

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