new_lrmd 2021 lib/lrmd/lrmd_client.c lrmd_t *new_lrmd = NULL; new_lrmd 2024 lib/lrmd/lrmd_client.c new_lrmd = calloc(1, sizeof(lrmd_t)); new_lrmd 2027 lib/lrmd/lrmd_client.c new_lrmd->cmds = calloc(1, sizeof(lrmd_api_operations_t)); new_lrmd 2030 lib/lrmd/lrmd_client.c new_lrmd->lrmd_private = pvt; new_lrmd 2032 lib/lrmd/lrmd_client.c new_lrmd->cmds->connect = lrmd_api_connect; new_lrmd 2033 lib/lrmd/lrmd_client.c new_lrmd->cmds->connect_async = lrmd_api_connect_async; new_lrmd 2034 lib/lrmd/lrmd_client.c new_lrmd->cmds->is_connected = lrmd_api_is_connected; new_lrmd 2035 lib/lrmd/lrmd_client.c new_lrmd->cmds->poke_connection = lrmd_api_poke_connection; new_lrmd 2036 lib/lrmd/lrmd_client.c new_lrmd->cmds->disconnect = lrmd_api_disconnect; new_lrmd 2037 lib/lrmd/lrmd_client.c new_lrmd->cmds->register_rsc = lrmd_api_register_rsc; new_lrmd 2038 lib/lrmd/lrmd_client.c new_lrmd->cmds->unregister_rsc = lrmd_api_unregister_rsc; new_lrmd 2039 lib/lrmd/lrmd_client.c new_lrmd->cmds->get_rsc_info = lrmd_api_get_rsc_info; new_lrmd 2040 lib/lrmd/lrmd_client.c new_lrmd->cmds->get_recurring_ops = lrmd_api_get_recurring_ops; new_lrmd 2041 lib/lrmd/lrmd_client.c new_lrmd->cmds->set_callback = lrmd_api_set_callback; new_lrmd 2042 lib/lrmd/lrmd_client.c new_lrmd->cmds->get_metadata = lrmd_api_get_metadata; new_lrmd 2043 lib/lrmd/lrmd_client.c new_lrmd->cmds->exec = lrmd_api_exec; new_lrmd 2044 lib/lrmd/lrmd_client.c new_lrmd->cmds->cancel = lrmd_api_cancel; new_lrmd 2045 lib/lrmd/lrmd_client.c new_lrmd->cmds->list_agents = lrmd_api_list_agents; new_lrmd 2046 lib/lrmd/lrmd_client.c new_lrmd->cmds->list_ocf_providers = lrmd_api_list_ocf_providers; new_lrmd 2047 lib/lrmd/lrmd_client.c new_lrmd->cmds->list_standards = lrmd_api_list_standards; new_lrmd 2048 lib/lrmd/lrmd_client.c new_lrmd->cmds->exec_alert = lrmd_api_exec_alert; new_lrmd 2049 lib/lrmd/lrmd_client.c new_lrmd->cmds->get_metadata_params = lrmd_api_get_metadata_params; new_lrmd 2051 lib/lrmd/lrmd_client.c return new_lrmd; new_lrmd 2058 lib/lrmd/lrmd_client.c lrmd_t *new_lrmd = lrmd_api_new(); new_lrmd 2059 lib/lrmd/lrmd_client.c lrmd_private_t *native = new_lrmd->lrmd_private; new_lrmd 2062 lib/lrmd/lrmd_client.c lrmd_api_delete(new_lrmd); new_lrmd 2074 lib/lrmd/lrmd_client.c return new_lrmd;