source: trunk/drmaa_utils/drmaa_utils/common.h @ 1

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

Torque/PBS DRMAA initial commit

Line 
1/* $Id: common.h 2 2009-10-12 09:51:22Z mamonski $ */
2/*
3 *  FedStage DRMAA utilities library
4 *  Copyright (C) 2006-2008  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 __DRMAA_UTILS__COMMON_H
21#define __DRMAA_UTILS__COMMON_H
22
23#ifdef HAVE_CONFIG_H
24#       include <config.h>
25#endif
26
27#include <drmaa_utils/compat.h>
28#include <drmaa_utils/exception.h>
29#include <drmaa_utils/logging.h>
30#include <drmaa_utils/xmalloc.h>
31
32#define FSD_SAFE_STR(str) ( str != NULL ? str : "(null)" )
33
34/* configuration */
35typedef struct fsd_conf_option_s  fsd_conf_option_t;
36typedef struct fsd_conf_dict_s    fsd_conf_dict_t;
37
38/* iterator */
39typedef struct fsd_iter_s fsd_iter_t;
40
41/* template type */
42typedef struct fsd_attribute_s  fsd_attribute_t;
43typedef struct fsd_template_s   fsd_template_t;
44
45/* DRMAA structures */
46typedef struct fsd_drmaa_singletone_s  fsd_drmaa_singletone_t;
47typedef struct fsd_drmaa_session_s     fsd_drmaa_session_t;
48typedef struct fsd_job_set_s           fsd_job_set_t;
49typedef struct fsd_job_s               fsd_job_t;
50typedef struct fsd_expand_drmaa_ph_s   fsd_expand_drmaa_ph_t;
51
52#endif /* __DRMAA_UTILS__COMMON_H */
53
Note: See TracBrowser for help on using the repository browser.