/* * remove wckey from accounting system * IN: slurmdb_wckey_cond_t *assoc_wckey * RET: List containing (char *'s) else NULL on error * note List needs to be freed with slurm_list_destroy() when called */ extern List slurmdb_wckeys_remove(void *db_conn, slurmdb_wckey_cond_t *wckey_cond) { if (db_api_uid == -1) db_api_uid = getuid(); return acct_storage_g_remove_wckeys(db_conn, db_api_uid, wckey_cond); }
/* * remove wckey from accounting system * IN: slurmdb_wckey_cond_t *assoc_wckey * RET: List containing (char *'s) else NULL on error * note List needs to be freed with slurm_list_destroy() when called */ extern List slurmdb_wckeys_remove(void *db_conn, slurmdb_wckey_cond_t *wckey_cond) { return acct_storage_g_remove_wckeys(db_conn, getuid(), wckey_cond); }