clscrs_unregister_servercategory

The clscrs_unregister_servercategory API unregisters the server categories that you specify in the input list. The op_status list contains the results of the unregister operation for each server category.

The caller must create and populate the sclist and must create the op_status list. Both of these lists must be destroyed by the caller. The op_status list cannot be reused with another API call and must be created and destroyed for each API call.

Parameters

Input:

  • sclist: The list of server categories you want to unregister.
  • flags: Specify option flags.
  • msgf: User message callback, which can be NULL.
  • msgarg: User callback argument, which can be NULL.

Output:

op_status: The entity list that holds the status of the unregister operation for each server category.

Returns

  • CLSCRS_STAT_SUCCESS: Indicates that all input server categories are successfully registered.
  • CLSCRS_STAT_FAILURE: Displays if at least one server category cannot be unregistered.
  • CLSCRS_STAT_CONNECTION: Displays if there is a communication error.
  • CLSCRS_STAT_WRONG_ACTIVE_VERSION: Displays if you use the API before you have upgraded the cluster to Oracle Clusterware 12c.

CLSCRS_STAT

clscrs_unregister_servercategory(clscrs_splist *sclist, uword flags,
                                 clscrs_msgf2 msgf, void *msgarg,
                                 clscrs_crsentitylist *op_status);