SenseApis: Define descriptors exported by libs
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#ifndef __USER_SENSE_API_LIB_H__
|
||||
#define __USER_SENSE_API_LIB_H__
|
||||
|
||||
#define HK_SENSE_API_DESC_GETTER_FN_NAME "getSenseApiDescriptor"
|
||||
|
||||
/* Exported by all sense API Libraries to tell Harikoff what API the lib uses
|
||||
* to connect to providers; and also to state which implexor APIs it exports.
|
||||
*/
|
||||
struct CExportedImplexorApiDesc
|
||||
{
|
||||
const char *name;
|
||||
};
|
||||
|
||||
struct CSenseApiDesc
|
||||
{
|
||||
/* Shortname that identifies the API used by this lib to talk to the sense
|
||||
* provider.
|
||||
*/
|
||||
const char *name;
|
||||
// These are the implexors whose APIs this lib exports.
|
||||
CExportedImplexorApiDesc *exportedImplexorApis;
|
||||
};
|
||||
|
||||
#endif // __USER_SENSE_API_LIB_H__
|
||||
Reference in New Issue
Block a user