#ifndef INCLUDED_UTIL_H
#define INCLUDED_UTIL_H

#include <pwd.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
#include <X11/cursorfont.h>
#include <X11/Shell.h>

/*
 *  Prototypes
 */


Widget GetTopShell(Widget);
Widget GetAppShell(Widget);
void handle_pending_x_events(void);
void watch_cursor(Widget, Boolean);
int ch_file(char *, char *, char *);

#define MODE   S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH

#endif
