/* $Id: common.h 13 2011-04-20 15:41:43Z mmamonski $ */
/*
* PSNC DRMAA 2.0 utilities library
* Copyright (C) 2012 Poznan Supercomputing and Networking Center
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#ifndef __DRMAA_UTILS__COMMON_H
#define __DRMAA_UTILS__COMMON_H
#ifdef HAVE_CONFIG_H
# include
#endif
#include
#include
#include
#include
#include
#define FSD_SAFE_STR(str) ( str != NULL ? str : "(null)" )
/* configuration */
typedef struct fsd_conf_option_s fsd_conf_option_t;
typedef struct fsd_conf_dict_s fsd_conf_dict_t;
/* iterator */
typedef struct fsd_iter_s fsd_iter_t;
/* template type */
typedef struct fsd_attribute_s fsd_attribute_t;
typedef struct fsd_template_s fsd_template_t;
/* DRMAA structures */
typedef struct fsd_drmaa_singletone_s fsd_drmaa_singletone_t;
typedef struct fsd_drmaa_jsession_s fsd_drmaa_jsession_t;
typedef struct fsd_drmaa_rsession_s fsd_drmaa_rsession_t;
typedef struct fsd_drmaa_msession_s fsd_drmaa_msession_t;
typedef struct fsd_job_set_s fsd_job_set_t;
typedef struct fsd_job_s fsd_job_t;
typedef struct fsd_expand_drmaa_ph_s fsd_expand_drmaa_ph_t;
#endif /* __DRMAA_UTILS__COMMON_H */