blob: 8b06b04f91f79fbdfeba950f5d7c2cbb5074737b [file] [log] [blame]
Jungtae Kim05e76762012-10-02 16:08:56 -07001/*
2 * Copyright (C) 2012 Samsung Electronics Co., LTD
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17
18#ifndef TLC_COMMUNICATION_H_
19#define TLC_COMMUNICATION_H_
20
21
22#include "MobiCoreDriverApi.h"
23
24#include "tlwvdrm_api.h"
25
26typedef struct {
27 uint32_t device_id;
28 mcUuid_t uuid;
29 mcSessionHandle_t handle;
30 tciMessage_t *tci_msg;
31 bool initialized;
32} mc_comm_ctx;
33
34mcResult_t tlc_open(mc_comm_ctx *comm_ctx);
35mcResult_t tlc_close(mc_comm_ctx *comm_ctx);
36mcResult_t tlc_communicate(mc_comm_ctx *comm_ctx);
37
38
39#endif