new_lrmd 2196 lib/lrmd/lrmd_client.c lrmd_t *new_lrmd = NULL; new_lrmd 2199 lib/lrmd/lrmd_client.c new_lrmd = calloc(1, sizeof(lrmd_t)); new_lrmd 2202 lib/lrmd/lrmd_client.c new_lrmd->cmds = calloc(1, sizeof(lrmd_api_operations_t)); new_lrmd 2205 lib/lrmd/lrmd_client.c new_lrmd->lrmd_private = pvt; new_lrmd 2207 lib/lrmd/lrmd_client.c new_lrmd->cmds->connect = lrmd_api_connect; new_lrmd 2208 lib/lrmd/lrmd_client.c new_lrmd->cmds->connect_async = lrmd_api_connect_async; new_lrmd 2209 lib/lrmd/lrmd_client.c new_lrmd->cmds->is_connected = lrmd_api_is_connected; new_lrmd 2210 lib/lrmd/lrmd_client.c new_lrmd->cmds->poke_connection = lrmd_api_poke_connection; new_lrmd 2211 lib/lrmd/lrmd_client.c new_lrmd->cmds->disconnect = lrmd_api_disconnect; new_lrmd 2212 lib/lrmd/lrmd_client.c new_lrmd->cmds->register_rsc = lrmd_api_register_rsc; new_lrmd 2213 lib/lrmd/lrmd_client.c new_lrmd->cmds->unregister_rsc = lrmd_api_unregister_rsc; new_lrmd 2214 lib/lrmd/lrmd_client.c new_lrmd->cmds->get_rsc_info = lrmd_api_get_rsc_info; new_lrmd 2215 lib/lrmd/lrmd_client.c new_lrmd->cmds->get_recurring_ops = lrmd_api_get_recurring_ops; new_lrmd 2216 lib/lrmd/lrmd_client.c new_lrmd->cmds->set_callback = lrmd_api_set_callback; new_lrmd 2217 lib/lrmd/lrmd_client.c new_lrmd->cmds->get_metadata = lrmd_api_get_metadata; new_lrmd 2218 lib/lrmd/lrmd_client.c new_lrmd->cmds->exec = lrmd_api_exec; new_lrmd 2219 lib/lrmd/lrmd_client.c new_lrmd->cmds->cancel = lrmd_api_cancel; new_lrmd 2220 lib/lrmd/lrmd_client.c new_lrmd->cmds->list_agents = lrmd_api_list_agents; new_lrmd 2221 lib/lrmd/lrmd_client.c new_lrmd->cmds->list_ocf_providers = lrmd_api_list_ocf_providers; new_lrmd 2222 lib/lrmd/lrmd_client.c new_lrmd->cmds->list_standards = lrmd_api_list_standards; new_lrmd 2223 lib/lrmd/lrmd_client.c new_lrmd->cmds->exec_alert = lrmd_api_exec_alert; new_lrmd 2224 lib/lrmd/lrmd_client.c new_lrmd->cmds->get_metadata_params = lrmd_api_get_metadata_params; new_lrmd 2226 lib/lrmd/lrmd_client.c return new_lrmd; new_lrmd 2233 lib/lrmd/lrmd_client.c lrmd_t *new_lrmd = lrmd_api_new(); new_lrmd 2234 lib/lrmd/lrmd_client.c lrmd_private_t *native = new_lrmd->lrmd_private; new_lrmd 2237 lib/lrmd/lrmd_client.c lrmd_api_delete(new_lrmd); new_lrmd 2249 lib/lrmd/lrmd_client.c return new_lrmd;