Celix  2.2.0
An implementation of the OSGi specification adapted to C and C++
celix_dm_info.h
Go to the documentation of this file.
1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one
3  * or more contributor license agreements. See the NOTICE file
4  * distributed with this work for additional information
5  * regarding copyright ownership. The ASF licenses this file
6  * to you under the Apache License, Version 2.0 (the
7  * "License"); you may not use this file except in compliance
8  * with the License. You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing,
13  * software distributed under the License is distributed on an
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15  * KIND, either express or implied. See the License for the
16  * specific language governing permissions and limitations
17  * under the License.
18  */
19 
20 #ifndef CELIX_DM_INFO_H_
21 #define CELIX_DM_INFO_H_
22 
23 
24 
25 #include <stdbool.h>
26 #include "celix_array_list.h"
27 #include "celix_properties.h"
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 
35  char* name;
36  celix_properties_t *properties;
37 };
41 
43  char *filter;
44  bool available;
45  bool required;
46  size_t count;
47 };
51 
53  char id[64];
54  char name[128];
55  bool active;
56  char * state;
57  celix_array_list_t *interfaces; // type dm_interface_info_pt
58  celix_array_list_t *dependency_list; // type dm_service_dependency_info_pt
59 };
63 
65  long bndId;
66  celix_array_list_t *components; // type dm_component_info
67 };
71 
72 
73 #ifdef __cplusplus
74 }
75 #endif
76 
77 #endif //CELIX_DM_INFO_H_
char * name
Definition: celix_dm_info.h:35
Definition: celix_dm_info.h:34
Definition: celix_dm_info.h:42
celix_properties_t * properties
Definition: celix_dm_info.h:36
char * state
Definition: celix_dm_info.h:56
celix_array_list_t * interfaces
Definition: celix_dm_info.h:57
bool active
Definition: celix_dm_info.h:55
celix_array_list_t * components
Definition: celix_dm_info.h:66
celix_array_list_t * dependency_list
Definition: celix_dm_info.h:58
Definition: celix_dm_info.h:52
struct celix_dm_dependency_manager_info_struct * dm_dependency_manager_info_pt
Definition: celix_dm_info.h:68
long bndId
Definition: celix_dm_info.h:65
Definition: celix_dm_info.h:64
char * filter
Definition: celix_dm_info.h:43
size_t count
Definition: celix_dm_info.h:46
struct celix_dm_service_dependency_info_struct * dm_service_dependency_info_pt
Definition: celix_dm_info.h:48
bool available
Definition: celix_dm_info.h:44
bool required
Definition: celix_dm_info.h:45
struct celix_dm_component_info_struct * dm_component_info_pt
Definition: celix_dm_info.h:60
struct celix_dm_interface_info_struct * dm_interface_info_pt
Definition: celix_dm_info.h:38