25 lines
653 B
C
25 lines
653 B
C
|
|
#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__
|