omni_define(3) — Subroutines
Name
omni_define − The omni_define procedure creates a definition of the specified class and fills a user buffer with the value of the definition handle. In all cases, the value of the definition’s scope attribute must be modified (using omni_modify_definition) before it is recognized by DEComni.
Syntax
extern unsigned long int omni_define (
omni_l_attributes class,
omni_l_handle ∗handle);
Arguments
classaccess: read only mechanism: by value Class identifies the class of definition to create.
The value of the class parameter is one of the values shown in the following table.
| Constant | Meaning |
| omni_c_cls_vmd | VMD |
| omni_c_cls_dom | Domain |
| omni_c_cls_pi | Program Invocation |
| omni_c_cls_named_var | Named Variable |
| omni_c_cls_unnamed_var | Unnamed Variable |
| omni_c_cls_msg | Message |
| omni_c_cls_mms_named_type | MMS Named Type |
| omni_c_cls_mms_type_spec | MMS Type Specification |
| omni_c_cls_app_named_type | Application Named Type |
| omni_c_cls_app_type_spec | Application Type Specification |
| omni_c_cls_mms_struct_comp | MMS Structure Component |
| omni_c_cls_app_struct_comp | Application Structure Component |
handleaccess: write only mechanism: by reference Handle specifies the return address of the definition handle.