2022-11-11 18:13:35 +00:00
|
|
|
#ifndef cwCmInterface_h
|
|
|
|
#define cwCmInterface_h
|
|
|
|
|
2023-01-31 00:38:11 +00:00
|
|
|
extern "C" {
|
|
|
|
struct cmCtx_str;
|
|
|
|
struct cmProcCtx_str;
|
|
|
|
}
|
|
|
|
|
2022-11-11 18:13:35 +00:00
|
|
|
namespace cw
|
|
|
|
{
|
|
|
|
namespace cm {
|
|
|
|
|
|
|
|
|
|
|
|
typedef handle< struct cm_str > handle_t;
|
|
|
|
|
2023-01-31 00:38:11 +00:00
|
|
|
rc_t create( handle_t& hRef );
|
|
|
|
rc_t destroy( handle_t& hRef );
|
|
|
|
|
|
|
|
|
|
|
|
extern "C" struct cmCtx_str* context( handle_t h );
|
|
|
|
extern "C" struct cmProcCtx_str* proc_context( handle_t h );
|
2022-11-11 18:13:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|