diff options
| author | stainer_t <thomas.stainer@oecd-nea.org> | 2025-09-08 13:48:49 +0200 |
|---|---|---|
| committer | stainer_t <thomas.stainer@oecd-nea.org> | 2025-09-08 13:48:49 +0200 |
| commit | 7dfcc480ba1e19bd3232349fc733caef94034292 (patch) | |
| tree | 03ee104eb8846d5cc1a981d267687a729185d3f3 /Ganlib/src/kdi.h | |
Initial commit from Polytechnique Montreal
Diffstat (limited to 'Ganlib/src/kdi.h')
| -rw-r--r-- | Ganlib/src/kdi.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Ganlib/src/kdi.h b/Ganlib/src/kdi.h new file mode 100644 index 0000000..07f6078 --- /dev/null +++ b/Ganlib/src/kdi.h @@ -0,0 +1,27 @@ + +/**********************************/ +/* C API for kdi file support */ +/* author: A. Hebert (08/04/2005) */ +/**********************************/ + +/* +Copyright (C) 2005 Ecole Polytechnique de Montreal + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. +*/ + +#include <stdio.h> +#include "ganlib.h" + +typedef struct { + char nom[73]; /* FILE NAME */ + FILE *fd; /* FILE POINTER */ +} kdi_file; + +kdi_file * kdiop_c(char *, int_32); +int_32 kdiput_c(kdi_file *, int_32 *, int_32, int_32); +int_32 kdiget_c(kdi_file *, int_32 *, int_32, int_32); +int_32 kdicl_c(kdi_file *, int_32); |
