summaryrefslogtreecommitdiffstats
path: root/src/coda-test.c
blob: ca912f2aa88ff4d9f2623f1dcc29d6d8031b9a3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * This file is part of MXE. See LICENSE.md for licensing 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;
}