usb-gadget: rename ane rearrange enum
[platform/core/api/device.git] / include / usb-gadget.h
1 /*
2  * Copyright (c) 2022 Samsung Electronics Co., Ltd All Rights Reserved
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 #ifndef __TIZEN_SYSTEM_USB_GADGET_H__
18 #define __TIZEN_SYSTEM_USB_GADGET_H__
19
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23
24 enum {
25         USB_GADGET_FUNC_NONE  = 0x00,
26         USB_GADGET_FUNC_SDB   = 0x01,
27         USB_GADGET_FUNC_MTP   = 0x02,
28         USB_GADGET_FUNC_RNDIS = 0x04,
29         USB_GADGET_FUNC_ACM   = 0x08,
30         USB_GADGET_FUNC_DIAG  = 0x10,
31         USB_GADGET_FUNC_RMNET = 0x20,
32 };
33
34 #ifdef __cplusplus
35 }
36 #endif
37
38 #endif __TIZEN_SYSTEM_USB_GADGET_H__