#ifndef __intercmd
#define __intercmd

#include <unistd.h>
#include <string.h>


typedef struct CLOption_s {
  int  (*handler)(char*);
  char *CallName;
} CLOption_t;

typedef struct CLOSet_s {
  CLOption_t*   CmdOptions      ;  // pointer to an array of command line options
  int           LineCommands    ;
} CLOSet_t;


int      getCommand  ( char ** commands, char ** in) ;
void     chomp       ( char * string) ;
long     getNumber   ( char * s, char ** l) ;
void     FF          ( char ** string) ;

#endif
