summaryrefslogtreecommitdiff
path: root/core/tee/se/service_priv.h
blob: 946eaa05a66f00de1724706f22d218ee19884742 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: BSD-2-Clause */
/*
 * Copyright (c) 2014, Linaro Limited
 */

#ifndef TEE_SE_SERVICE_PRIV_H
#define TEE_SE_SERVICE_PRIV_H

TAILQ_HEAD(se_session_head, tee_se_session);

struct tee_se_service {
	/* list of sessions opened on the service */
	struct se_session_head opened_sessions;
	/* list of sessions closed on the service */
	struct se_session_head closed_sessions;
	/* mutex to pretect the session lists */
	struct mutex mutex;
};

#endif