Files
ModemManager/src/plugins/mm-builtin-plugins.h
T
Aleksander Morgado 1c4da332ee build: new option to build plugins within the daemon binary
Instead of creating libmm-plugin* and libmm-shared* libraries that are
dlopen()-ed on runtime, allow incorporating all plugins into the
daemon binary itself.

This makes the startup of the daemon much faster and also avoids
issues with builds that require linker namespace isolation.

Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/674
2023-01-03 13:56:25 +00:00

29 lines
889 B
C

/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program 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 General Public License for more details:
*
* Copyright (C) 2022 Google Inc.
*/
#ifndef MM_BUILTIN_PLUGINS_H
#define MM_BUILTIN_PLUGINS_H
#include <config.h>
#include <glib.h>
#if !defined WITH_BUILTIN_PLUGINS
# error Build with builtin plugins was not enabled
#endif
GList *mm_builtin_plugins_load (void);
#endif /* MM_BUILTIN_PLUGINS_H */