summaryrefslogtreecommitdiff
path: root/profiles/sap/main.c
blob: 321ed3282e2d48bfd837b62c23ebc6399369ef19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  BlueZ - Bluetooth protocol stack for Linux
 *
 *  Copyright (C) 2010 Instituto Nokia de Tecnologia - INdT
 *
 */

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <errno.h>

#include "gdbus/gdbus.h"

#include "src/plugin.h"
#include "manager.h"

static int sap_init(void)
{
	return sap_manager_init();
}

static void sap_exit(void)
{
	sap_manager_exit();
}

BLUETOOTH_PLUGIN_DEFINE(sap, VERSION,
		BLUETOOTH_PLUGIN_PRIORITY_DEFAULT, sap_init, sap_exit)