/*
 * Copyright 1990 by Baylor College of Medicine ALL RIGHTS RESERVED. 
 *
 * This program is subject to a license agreement between 
 * Baylor College of Medicine and MIT. Any use inconsistent with
 * said license and any use by persons other than the faculty, 
 * students and staff at MIT or any use on a computer not operated 
 * as part of the Athena Computing Environment (ACE) is expressly 
 * prohibited.
 */
#ifndef _VNS_COMM_H_
#define _VNS_COMM_H_

#include <X11/Xlib.h>

typedef struct _VnsConnection
{
	Display *dpy;          /* display pointer */
	Window root;           /* root window id */
	char *db;              /* database name */
	Atom request;          /* request property */
	Atom request_type;     /* resquest type property */
	Atom reply;            /* reply property */
	Atom reply_type;       /* reply type property */
} VnsConnection;

Display *vns_open_xdisplay();
VnsConnection *vns_initialize();
int vns_display_page();
char *vns_select_page();

#endif /* _VNS_COMM_H_ */
