Imported Upstream version 1.0.0
[platform/upstream/iotivity.git] / plugins / include / plugintypes.h
1 //******************************************************************
2 //
3 // Copyright 2014 Intel Mobile Communications GmbH All Rights Reserved.
4 //
5 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
6 //
7 // Licensed under the Apache License, Version 2.0 (the "License");
8 // you may not use this file except in compliance with the License.
9 // You may obtain a copy of the License at
10 //
11 //      http://www.apache.org/licenses/LICENSE-2.0
12 //
13 // Unless required by applicable law or agreed to in writing, software
14 // distributed under the License is distributed on an "AS IS" BASIS,
15 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 // See the License for the specific language governing permissions and
17 // limitations under the License.
18 //
19 //******************************************************************
20
21
22 /**
23  * @file
24  *
25  * This file contains the definition, types and APIs for resource(s) be
26  * implemented.
27  */
28
29 #ifndef PLUGINTYPES_H_
30 #define PLUGINTYPES_H_
31
32 #include "octypes.h"
33
34 #ifdef __cplusplus
35 extern "C" {
36 #endif // __cplusplus
37
38 /**
39  * Types of plugins.
40  */
41 typedef enum
42 {
43     PLUGIN_UNKNOWN = 0,
44     PLUGIN_ZIGBEE = 1
45
46 } PIPluginType;
47
48
49 /**
50  * Handle to a plugin.
51  */
52 typedef struct PIPlugin {} PIPlugin;
53
54 #ifdef __cplusplus
55 }
56 #endif // __cplusplus
57
58 #endif /* PLUGINTYPES_H_ */