1 /*
2    connect.h
3 
4    Mike Hufnagel and Bill Kendrick
5    Last modified 11/17/95 (changed to return NULL on error)
6 
7    Assist in connecting to the X server.
8 */
9 
10 #ifndef CONNECT_H
11 #define CONNECT_H
12 
13 #include <X11/Xlib.h>
14 
15 Display *ConnectToServer(char* display_name, int *screen, Window *rootwindow);
16 /*
17    Connects to an X server, gets default screen # and root window id for
18    that display (server) and screen
19 
20    returns: Pointer to the display or NULL if there was a problem.
21 */
22 
23 #endif /* CONNECT_H */
24