Ethan Yonker | 726a020 | 2014-12-16 20:01:38 -0600 | [diff] [blame] | 1 | /* |
| 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 | |
| 25 | struct mtpmsg { |
| 26 | int message_type; // 1 is add, 2 is remove, see above |
| 27 | unsigned int storage_id; |
Ethan Yonker | 6e8c27a | 2016-12-22 17:55:57 -0600 | [diff] [blame] | 28 | char display[1024]; |
| 29 | char path[1024]; |
Ethan Yonker | 726a020 | 2014-12-16 20:01:38 -0600 | [diff] [blame] | 30 | uint64_t maxFileSize; |
| 31 | }; |
| 32 | |
| 33 | #endif //_MTPMESSAGE_HPP |