int count;
t_calcephbin *peph;

/* open the ephemeris file */
peph = calceph_open("example1.dat");
if (peph)
{
  /* print the number of constants */
  count = calceph_getconstantcount(peph);
  printf("number of constants : %d\n", count);

  /* close the ephemeris file */
  calceph_close(peph);
}