Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
mxq/mxqd_control.h
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
26 lines (17 sloc)
1.03 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef _MXQD_CONTROL_H | |
#define _MXQD_CONTROL_H | |
#include "mxqd.h" | |
#include "mxq_group.h" | |
#include "mxq_job.h" | |
struct mxq_job_list *server_remove_job_list_by_pid(struct mxq_server *server, pid_t pid); | |
struct mxq_job_list *server_remove_job_list_by_job_id(struct mxq_server *server, uint64_t job_id); | |
struct mxq_group_list *server_update_group(struct mxq_server *server, struct mxq_group *group); | |
struct mxq_group_list *server_get_group_list_by_group_id(struct mxq_server *server, uint64_t group_id); | |
struct mxq_job_list *server_get_job_list_by_job_id(struct mxq_server *server, uint64_t job_id); | |
struct mxq_job_list *server_get_job_list_by_pid(struct mxq_server *server, pid_t pid); | |
void server_sort_users_by_running_global_slot_count(struct mxq_server *server); | |
struct mxq_job_list *group_list_add_job(struct mxq_group_list *glist, struct mxq_job *job); | |
int server_remove_orphaned_groups(struct mxq_server *server); | |
void job_list_remove_self(struct mxq_job_list *jlist); | |
void server_sort_groups_by_priority(struct mxq_server *server); | |
#endif |