/* header file for palmsync
*  contains struct for configuration and what not
*/

#include <signal.h>
#include <sys/file.h>
#define SIGBACKUP 38
#define SIGRESTORE 39
#define SIGINSTALL 40
#define RETSIGTYPE void

void handle_BACKUP(int sig);
void handle_RESTORE(int sig);
void handle_INSTALL(int sig);
void handle_QUIT(int sig);
void Backup (int,int);
static void protect_name (char *, char *);
void RemoveFromList (char *name,char **list,int max);

typedef struct Config {
  char* port;
  char* speed;
  char* pilot_user;
  char* backups;
  char* addr_loc;
  char* cal_loc;
  char* db_loc;
  char* mail_loc;
  char* memo_loc;
  char* sprsht_loc;
  char* todo_loc;
} pilot;






