2023-02-09 02:06:08 +00:00
|
|
|
/*
|
|
|
|
* mks-init.h
|
|
|
|
*
|
|
|
|
* Copyright 2023 Christian Hergert <chergert@redhat.com>
|
|
|
|
*
|
2023-06-02 17:01:16 +00:00
|
|
|
* This library is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2.1 of the
|
|
|
|
* License, or (at your option) any later version.
|
2023-02-09 02:06:08 +00:00
|
|
|
*
|
2023-06-02 17:01:16 +00:00
|
|
|
* This library is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
2023-02-09 02:06:08 +00:00
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*
|
2023-06-01 11:04:35 +00:00
|
|
|
* SPDX-License-Identifier: LGPL-2.1-or-later
|
2023-02-09 02:06:08 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2023-02-09 10:21:29 +00:00
|
|
|
#if !defined(MKS_INSIDE) && !defined(MKS_COMPILATION)
|
|
|
|
# error "Only <libmks.h> can be included directly."
|
|
|
|
#endif
|
|
|
|
|
2023-02-09 02:06:08 +00:00
|
|
|
#include <glib.h>
|
|
|
|
|
|
|
|
#include "mks-version-macros.h"
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
MKS_AVAILABLE_IN_ALL
|
|
|
|
void mks_init (void);
|
|
|
|
MKS_AVAILABLE_IN_ALL
|
|
|
|
int mks_get_major_version (void);
|
|
|
|
MKS_AVAILABLE_IN_ALL
|
|
|
|
int mks_get_minor_version (void);
|
|
|
|
MKS_AVAILABLE_IN_ALL
|
|
|
|
int mks_get_micro_version (void);
|
|
|
|
|
|
|
|
G_END_DECLS
|