# include <ohana.h>
# include <dvo.h>
# include <signal.h>
# include <sys/time.h>
# include <time.h>
# include <zlib.h>

/* solaris requires both of these instead of ip.h:
   # include <sys/socket.h>
   # include <netinet/in.h>
*/

/* linux is happy with this, not solaris */
# include <netinet/ip.h>
# include <netdb.h>
# include <arpa/inet.h>
# include <glob.h>

typedef enum {
  DVOUTILS_NONE,
  DVOUTILS_UNIQ_IMAGES,
} DVOUTILS_OP_TYPE;

int VERBOSE;
int DVOUTILS_OP;

char *IMAGES_LIST;

int main (int argc, char **argv);
int dvoutils_args (int *argc, char **argv);
int dvoutils_uniq_images (char *filename);
int *dvoutils_load_image_index (char *filename, int *nindex);

Image *dvoutils_load_image_table (char *filename, int *nimage);
