blob: 31465d8c6d8e4e3d2d674cce82349af88b694294 [file] [log] [blame]
Ethan Yonker726a0202014-12-16 20:01:38 -06001/*
2 * Copyright (C) 2010 The Android Open Source Project
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 * Copyright (C) 2014 TeamWin - bigbiff and Dees_Troy mtp database conversion to C++
17 */
18
19#ifndef _MTPMESSAGE_HPP
20#define _MTPMESSAGE_HPP
21
22#define MTP_MESSAGE_ADD_STORAGE 1
23#define MTP_MESSAGE_REMOVE_STORAGE 2
24
25struct mtpmsg {
26 int message_type; // 1 is add, 2 is remove, see above
27 unsigned int storage_id;
Ethan Yonker6e8c27a2016-12-22 17:55:57 -060028 char display[1024];
29 char path[1024];
Ethan Yonker726a0202014-12-16 20:01:38 -060030 uint64_t maxFileSize;
31};
32
33#endif //_MTPMESSAGE_HPP