source: trunk/pbs_drmaa/job.h @ 1

Revision 1, 1.2 KB checked in by mmamonski, 13 years ago (diff)

Torque/PBS DRMAA initial commit

Line 
1/* $Id: job.h 2 2009-10-12 09:51:22Z mamonski $ */
2/*
3 *  FedStage DRMAA for PBS Pro
4 *  Copyright (C) 2006-2009  FedStage Systems
5 *
6 *  This program is free software: you can redistribute it and/or modify
7 *  it under the terms of the GNU General Public License as published by
8 *  the Free Software Foundation, either version 3 of the License, or
9 *  (at your option) any later version.
10 *
11 *  This program is distributed in the hope that it will be useful,
12 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 *  GNU General Public License for more details.
15 *
16 *  You should have received a copy of the GNU General Public License
17 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#ifndef __PBS_DRMAA__JOB_H
21#define __PBS_DRMAA__JOB_H
22
23#ifdef HAVE_CONFIG_H
24#       include <config.h>
25#endif
26
27#include <drmaa_utils/job.h>
28
29typedef struct pbsdrmaa_job_s pbsdrmaa_job_t;
30
31/* Do not depend on <pbs_ifl.h> */
32struct batch_status;
33
34fsd_job_t *
35pbsdrmaa_job_new( char *job_id );
36
37struct pbsdrmaa_job_s {
38        fsd_job_t super;
39
40        void (*
41        update)( fsd_job_t *self, struct batch_status *status );
42};
43
44#endif /* __PBS_DRMAA__JOB_H */
45
Note: See TracBrowser for help on using the repository browser.