Revision 20,
1.2 KB
checked in by mmatloka, 14 years ago
(diff) |
svn:keywords
|
-
Property svn:keywords set to
Id Revision
|
Rev | Line | |
---|
[20] | 1 | /* $Id$ */ |
---|
[1] | 2 | /* |
---|
| 3 | * PSNC DRMAA for LL |
---|
| 4 | * Copyright (C) 2010 Poznan Supercomputing and Networking Center |
---|
| 5 | * |
---|
| 6 | * Licensed under the Apache License, Version 2.0 (the "License"); |
---|
| 7 | * you may not use this file except in compliance with the License. |
---|
| 8 | * You may obtain a copy of the License at |
---|
| 9 | * |
---|
| 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
---|
| 11 | * |
---|
| 12 | * Unless required by applicable law or agreed to in writing, software |
---|
| 13 | * distributed under the License is distributed on an "AS IS" BASIS, |
---|
| 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
---|
| 15 | * See the License for the specific language governing permissions and |
---|
| 16 | * limitations under the License. |
---|
| 17 | */ |
---|
| 18 | |
---|
| 19 | #ifndef __LL_DRMAA__SESSION_H |
---|
| 20 | #define __LL_DRMAA__SESSION_H |
---|
| 21 | |
---|
| 22 | #ifdef HAVE_CONFIG_H |
---|
| 23 | # include <config.h> |
---|
| 24 | #endif |
---|
| 25 | |
---|
| 26 | #include <drmaa_utils/session.h> |
---|
| 27 | |
---|
| 28 | typedef struct lldrmaa_session_s lldrmaa_session_t; |
---|
| 29 | |
---|
| 30 | fsd_drmaa_session_t * |
---|
| 31 | lldrmaa_session_new( const char *contact ); |
---|
| 32 | |
---|
| 33 | struct lldrmaa_session_s { |
---|
| 34 | fsd_drmaa_session_t super; |
---|
| 35 | |
---|
| 36 | void (*super_apply_configuration)(fsd_drmaa_session_t *self); |
---|
| 37 | void (*super_destroy_nowait)( fsd_drmaa_session_t *self ); |
---|
| 38 | |
---|
| 39 | bool terminate_job_on_vacated; |
---|
| 40 | char *unix_socket_name; |
---|
| 41 | int socket_fd; |
---|
| 42 | }; |
---|
| 43 | |
---|
| 44 | #endif /* __LL_DRMAA__SESSION_H */ |
---|
| 45 | |
---|
Note: See
TracBrowser
for help on using the repository browser.