new_lrmd 1823 lib/lrmd/lrmd_client.c lrmd_t *new_lrmd = NULL; new_lrmd 1826 lib/lrmd/lrmd_client.c new_lrmd = calloc(1, sizeof(lrmd_t)); new_lrmd 1829 lib/lrmd/lrmd_client.c new_lrmd->cmds = calloc(1, sizeof(lrmd_api_operations_t)); new_lrmd 1832 lib/lrmd/lrmd_client.c new_lrmd->private = pvt; new_lrmd 1834 lib/lrmd/lrmd_client.c new_lrmd->cmds->connect = lrmd_api_connect; new_lrmd 1835 lib/lrmd/lrmd_client.c new_lrmd->cmds->connect_async = lrmd_api_connect_async; new_lrmd 1836 lib/lrmd/lrmd_client.c new_lrmd->cmds->is_connected = lrmd_api_is_connected; new_lrmd 1837 lib/lrmd/lrmd_client.c new_lrmd->cmds->poke_connection = lrmd_api_poke_connection; new_lrmd 1838 lib/lrmd/lrmd_client.c new_lrmd->cmds->disconnect = lrmd_api_disconnect; new_lrmd 1839 lib/lrmd/lrmd_client.c new_lrmd->cmds->register_rsc = lrmd_api_register_rsc; new_lrmd 1840 lib/lrmd/lrmd_client.c new_lrmd->cmds->unregister_rsc = lrmd_api_unregister_rsc; new_lrmd 1841 lib/lrmd/lrmd_client.c new_lrmd->cmds->get_rsc_info = lrmd_api_get_rsc_info; new_lrmd 1842 lib/lrmd/lrmd_client.c new_lrmd->cmds->set_callback = lrmd_api_set_callback; new_lrmd 1843 lib/lrmd/lrmd_client.c new_lrmd->cmds->get_metadata = lrmd_api_get_metadata; new_lrmd 1844 lib/lrmd/lrmd_client.c new_lrmd->cmds->exec = lrmd_api_exec; new_lrmd 1845 lib/lrmd/lrmd_client.c new_lrmd->cmds->cancel = lrmd_api_cancel; new_lrmd 1846 lib/lrmd/lrmd_client.c new_lrmd->cmds->list_agents = lrmd_api_list_agents; new_lrmd 1847 lib/lrmd/lrmd_client.c new_lrmd->cmds->list_ocf_providers = lrmd_api_list_ocf_providers; new_lrmd 1848 lib/lrmd/lrmd_client.c new_lrmd->cmds->list_standards = lrmd_api_list_standards; new_lrmd 1849 lib/lrmd/lrmd_client.c new_lrmd->cmds->exec_alert = lrmd_api_exec_alert; new_lrmd 1851 lib/lrmd/lrmd_client.c return new_lrmd; new_lrmd 1858 lib/lrmd/lrmd_client.c lrmd_t *new_lrmd = lrmd_api_new(); new_lrmd 1859 lib/lrmd/lrmd_client.c lrmd_private_t *native = new_lrmd->private; new_lrmd 1862 lib/lrmd/lrmd_client.c lrmd_api_delete(new_lrmd); new_lrmd 1874 lib/lrmd/lrmd_client.c return new_lrmd;