Allocates and initializes the classes to keys translation table.
Workload Manager Library (libwlm.a)
The wlm_initkey subroutine allocates a block of memory, builds the keys == class names translation table and returns its address into the ctx argument.
| Item | Description | 
|---|---|
| args | Only 2 fields need to be initialized in the wlm_args structure
pointed to by args:     
  | 
If the wlm_initkey subroutine is successful, a value of 0 is returned. If the wlm_initkey subroutine is unsuccessful, an error code is returned.
If the wlm_initkey subroutine is unsuccessful, one of the following error codes is returned:
| Item | Description | 
|---|---|
| WLM_BADVERS | Bad version number. | 
| WLM_NOT_INITED | Missing call to wlm_init. | 
| WLM_NOMEM | Not enough memory. | 
| WLM_NOCLASS | Specified configuration does not exist. | 
| WLM_EFAULT | Invalid ctx or args argument. |