-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathjob-accessors.h
39 lines (37 loc) · 1.6 KB
/
job-accessors.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* Generated by /usr/local/bin/auto-gen-get-set-opaque
*
* Accessor macros. Use these to access structure members from functions
* outside the job_t class.
*
* These generated macros are not expected to be perfect. Check and edit
* as needed before adding to your code.
*/
/* temp-job-accessors.c */
unsigned long job_get_job_id(job_t *job_ptr);
unsigned long job_get_array_index(job_t *job_ptr);
unsigned job_get_job_count(job_t *job_ptr);
unsigned job_get_processors_per_job(job_t *job_ptr);
unsigned job_get_threads_per_process(job_t *job_ptr);
size_t job_get_phys_mib_per_processor(job_t *job_ptr);
pid_t job_get_chaperone_pid(job_t *job_ptr);
pid_t job_get_job_pid(job_t *job_ptr);
job_state_t job_get_state(job_t *job_ptr);
char *job_get_user_name(job_t *job_ptr);
char job_get_user_name_ae(job_t *job_ptr, size_t c);
char *job_get_primary_group_name(job_t *job_ptr);
char job_get_primary_group_name_ae(job_t *job_ptr, size_t c);
char *job_get_submit_node(job_t *job_ptr);
char job_get_submit_node_ae(job_t *job_ptr, size_t c);
char *job_get_submit_dir(job_t *job_ptr);
char job_get_submit_dir_ae(job_t *job_ptr, size_t c);
char *job_get_script_name(job_t *job_ptr);
char job_get_script_name_ae(job_t *job_ptr, size_t c);
char *job_get_compute_node(job_t *job_ptr);
char job_get_compute_node_ae(job_t *job_ptr, size_t c);
char *job_get_log_dir(job_t *job_ptr);
char job_get_log_dir_ae(job_t *job_ptr, size_t c);
char *job_get_pull_command(job_t *job_ptr);
char job_get_pull_command_ae(job_t *job_ptr, size_t c);
char *job_get_push_command(job_t *job_ptr);
char job_get_push_command_ae(job_t *job_ptr, size_t c);