MySQL 8.0.40
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, 2024, 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 designed to work 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 either included with
16 the program or referenced in the documentation.
17
18 This program is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 GNU General Public License, version 2.0, for more details.
22
23 You should have received a copy of the GNU General Public License
24 along with this program; if not, write to the Free Software
25 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
26
27/**
28 @file mysys/my_static.h
29 Static variables for mysys library. All defined here for easy making of
30 a shared library.
31*/
32
33#include <sys/types.h>
34
35#include "my_alloc.h"
36#include "my_inttypes.h"
37#include "my_io.h"
38#include "my_macros.h"
39#include "my_sys.h"
40
42
44extern uint my_once_extra;
45
46#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:83
Some common macros.
char curr_dir[FN_REFLEN]
Definition: my_static.cc:85
USED_MEM * my_once_root_block
Definition: my_static.cc:166
char home_dir_buff[FN_REFLEN]
Definition: my_static.h:41
uint my_once_extra
Definition: my_static.cc:167
Common header for many mysys elements.
struct for once_alloc (block)
Definition: my_sys.h:556
unsigned int uint
Definition: uca9-dump.cc:75