[1022] | 1 | /* |
---|
| 2 | * Copyright 1993-1996 University Corporation for Atmospheric Research/Unidata |
---|
| 3 | * |
---|
| 4 | * Portions of this software were developed by the Unidata Program at the |
---|
| 5 | * University Corporation for Atmospheric Research. |
---|
| 6 | * |
---|
| 7 | * Access and use of this software shall impose the following obligations |
---|
| 8 | * and understandings on the user. The user is granted the right, without |
---|
| 9 | * any fee or cost, to use, copy, modify, alter, enhance and distribute |
---|
| 10 | * this software, and any derivative works thereof, and its supporting |
---|
| 11 | * documentation for any purpose whatsoever, provided that this entire |
---|
| 12 | * notice appears in all copies of the software, derivative works and |
---|
| 13 | * supporting documentation. Further, UCAR requests that the user credit |
---|
| 14 | * UCAR/Unidata in any publications that result from the use of this |
---|
| 15 | * software or in any product that includes this software. The names UCAR |
---|
| 16 | * and/or Unidata, however, may not be used in any advertising or publicity |
---|
| 17 | * to endorse or promote any products or commercial entity unless specific |
---|
| 18 | * written permission is obtained from UCAR/Unidata. The user also |
---|
| 19 | * understands that UCAR/Unidata is not obligated to provide the user with |
---|
| 20 | * any support, consulting, training or assistance of any kind with regard |
---|
| 21 | * to the use, operation and performance of this software nor to provide |
---|
| 22 | * the user with any updates, revisions, new versions or "bug fixes." |
---|
| 23 | * |
---|
| 24 | * THIS SOFTWARE IS PROVIDED BY UCAR/UNIDATA "AS IS" AND ANY EXPRESS OR |
---|
| 25 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
---|
| 26 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
---|
| 27 | * DISCLAIMED. IN NO EVENT SHALL UCAR/UNIDATA BE LIABLE FOR ANY SPECIAL, |
---|
| 28 | * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING |
---|
| 29 | * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, |
---|
| 30 | * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION |
---|
| 31 | * WITH THE ACCESS, USE OR PERFORMANCE OF THIS SOFTWARE. |
---|
| 32 | */ |
---|
| 33 | /* "$Id: ncd3dispatch.h,v 1.3 2010/05/27 21:34:09 dmh Exp $" */ |
---|
| 34 | |
---|
| 35 | #ifndef _NCD3DISPATCH_H |
---|
| 36 | #define _NCD3DISPATCH_H |
---|
| 37 | |
---|
| 38 | #include <stddef.h> /* size_t, ptrdiff_t */ |
---|
| 39 | #include "netcdf.h" |
---|
| 40 | #include "ncdispatch.h" |
---|
| 41 | |
---|
| 42 | #if defined(__cplusplus) |
---|
| 43 | extern "C" { |
---|
| 44 | #endif |
---|
| 45 | |
---|
| 46 | EXTERNL int |
---|
| 47 | NCD3_new_nc(struct NC**); |
---|
| 48 | |
---|
| 49 | /* WARNING: this signature differs from external nc_open API*/ |
---|
| 50 | EXTERNL int |
---|
| 51 | NCD3_open(const char *path, int mode, |
---|
| 52 | int basepe, size_t *chunksizehintp, |
---|
| 53 | int use_parallel, void* mpidata, |
---|
| 54 | struct NC_Dispatch* dispatch, NC** ncp); |
---|
| 55 | |
---|
| 56 | EXTERNL int |
---|
| 57 | NCD3_close(int ncid); |
---|
| 58 | |
---|
| 59 | /* End _var */ |
---|
| 60 | |
---|
| 61 | extern int NCD3_initialize(void); |
---|
| 62 | |
---|
| 63 | #if defined(__cplusplus) |
---|
| 64 | } |
---|
| 65 | #endif |
---|
| 66 | |
---|
| 67 | #endif /*_NCD3DISPATCH_H*/ |
---|