#include "celix_types.h"
#include "bundle_state.h"
Go to the source code of this file.
      
        
          | char* celix_bundle_getEntry | ( | const celix_bundle_t * | bnd, | 
        
          |  |  | const char * | path | 
        
          |  | ) |  |  | 
      
 
Returns a the use-able entry path for the provided relative path to a bundle resource.
For example if there is a resource entry in the bundle at path 'META-INF/descriptors/foo.descriptor` this call will return a absolute or relative path to the extracted location of the bundle resource, e.g.: .cache/bundle5/version0.0/META-INF/descriptors/foo.descriptor
The caller is responsible for freeing the returned path entry. 
- Parameters
- 
  
  
- Returns
- A use-able path to the bundle resource entry of NULL if the entry is not found. 
 
 
      
        
          | const char* celix_bundle_getGroup | ( | const celix_bundle_t * | bnd | ) |  | 
      
 
 
      
        
          | long celix_bundle_getId | ( | const celix_bundle_t * | bnd | ) |  | 
      
 
Returns the bundle id. 
- Parameters
- 
  
  
- Returns
- The bundle id or < 0 if something went wrong. 
 
 
      
        
          | celix_bundle_state_e celix_bundle_getState | ( | const celix_bundle_t * | bnd | ) |  | 
      
 
Returns the bundle state. 
- Parameters
- 
  
  
- Returns
- The bundle state or OSGI_FRAMEWORK_BUNDLE_UNKNOWN if something went wrong. 
 
 
      
        
          | const char* celix_bundle_getSymbolicName | ( | const celix_bundle_t * | bnd | ) |  |