ftp://ftp.uni-heidelberg.de/pub/X11/contrib/applications/xscreensaver-1.25.tar.Z
[xscreensaver] / driver / xscreensaver.h
index 7bdc77622f342a6f600b5c2cd07fd890f1d57d75..751ae0ce868f9df2db03fd356efc19dbd87abe7f 100644 (file)
@@ -1,4 +1,4 @@
-/* xscreensaver, Copyright (c) 1993 Jamie Zawinski <jwz@lucid.com>
+/* xscreensaver, Copyright (c) 1993, 1995 Jamie Zawinski <jwz@mcom.com>
  *
  * Permission to use, copy, modify, distribute, and sell this software and its
  * documentation for any purpose is hereby granted without fee, provided that
 # include <unistd.h>
 #endif
 
+#include <stdio.h>
+
 #if __STDC__
 # define P(x)x
 #else
 # define P(x)()
+# ifndef const
+#  define const /**/
+# endif
 #endif
 
 #ifdef NO_MOTIF
@@ -37,9 +42,12 @@ extern int visual_depth;
 
 extern Bool verbose_p;
 
-extern void initialize_screensaver_window P(());
+extern FILE *real_stderr;
+extern FILE *real_stdout;
+
+extern void initialize_screensaver_window P((void));
 extern void raise_window P((Bool inhibit_fade, Bool between_hacks_p));
-extern void blank_screen P(());
+extern void blank_screen P((void));
 extern void unblank_screen P((void));
 extern void restart_process P((void));
 
@@ -53,3 +61,6 @@ extern void fade_colormap P((Display*, Colormap, Colormap, int, int, Bool));
 extern void blacken_colormap P((Display *, Colormap));
 
 extern int BadWindow_ehandler P((Display *dpy, XErrorEvent *error));
+
+extern char *timestring P((void));
+extern Bool window_exists_p P((Display *dpy, Window window));