Hi,
Here, I am trying to implement CIM provider
I have created mof file named test.mof and its content is copied here.
class GK_UnixProcess : CIM_UnixProcess
{
[Description("Send signal to the process.")]
uint32 Signal(
[Description("Number of the signal."),
ValueMap{"1", "2", "3", "4", "6", "8", "9", ".."},
Values{"SIGHUP", "SIGINT", "SIGQUIT", "SIGILL", "SIGABRT",
"SIGFPE", "SIGKILL", "Reserved"}]
uint16 Number
);
};
[ Association,
Description("This association connects a process with all its children.")]
class GK_ProcessChild
{
[Key, Description("Parent process.")]
GK_UnixProcess REF Parent;
[Key, Description("Child process.")]
GK_UnixProcess REF Child;
};
Then I trying to generate .c and .h file using konkrete
*$ konkret -s GK_UnixProcess -m ../mof/test.mof GK_UnixProcess=UnixProcess*
* *But I got error,
* Using:*
*error: ../mof/LMI_test.mof(3): undefined qualifier: "Description"*
* *Please help me,
Regards,
George