MySQL 8.0.30
Source Code Documentation
my_static.h
Go to the documentation of this file.
1#ifndef MYSYS_MY_STATIC_INCLUDED
2#define MYSYS_MY_STATIC_INCLUDED
3
4/* Copyright (c) 2000, 2022, Oracle and/or its affiliates.
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License, version 2.0,
8 as published by the Free Software Foundation.
9
10 This program is also distributed with certain software (including
11 but not limited to OpenSSL) that is licensed under separate terms,
12 as designated in a particular file or component or in included license
13 documentation. The authors of MySQL hereby grant you an additional
14 permission to link the program and your derivative works with the
15 separately licensed software that they have included with MySQL.
16
17 This program is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 GNU General Public License, version 2.0, for more details.
21
22 You should have received a copy of the GNU General Public License
23 along with this program; if not, write to the Free Software
24 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
25
26/**
27 @file mysys/my_static.h
28 Static variables for mysys library. All defined here for easy making of
29 a shared library.
30*/
31
32#include <sys/types.h>
33
34#include "my_alloc.h"
35#include "my_inttypes.h"
36#include "my_io.h"
37#include "my_macros.h"
38#include "my_sys.h"
39
41
43extern uint my_once_extra;
44
45#endif /* MYSYS_MY_STATIC_INCLUDED */
This file follows Google coding style, except for the name MEM_ROOT (which is kept for historical rea...
Some integer typedefs for easier portability.
Common #defines and includes for file and socket I/O.
#define FN_REFLEN
Definition: my_io.h:82
Some common macros.
char curr_dir[FN_REFLEN]
Definition: my_static.cc:84
USED_MEM * my_once_root_block
Definition: my_static.cc:165
char home_dir_buff[FN_REFLEN]
Definition: my_static.h:40
uint my_once_extra
Definition: my_static.cc:166
Common header for many mysys elements.
struct for once_alloc (block)
Definition: my_sys.h:555
unsigned int uint
Definition: uca-dump.cc:29