summaryrefslogtreecommitdiffstats
path: root/src/coda-test.c
blob: f5da78263f7f0700c241d0be4b6c30fd92672fde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * This file is part of MXE.
 * See index.html for further information.
 */

#include <stdio.h>
#include <coda.h>

int main() {

  printf("Testing CODA version %s\n", libcoda_version);

  int rc = coda_init();

  if (rc) {
    printf("coda_init returned error '%d' -- '%s'", coda_errno, coda_errno_to_string(coda_errno) );
  }

  coda_done();

  return 0;
}