Update key files in preparation for 2.5.31.
[fvwm.git] / libs / fvwmlib.h
blobb3d9c804b00a1f0f496f8b842eccb3bffc402cfa
1 /* -*-c-*- */
3 #ifndef FVWMLIB_H
4 #define FVWMLIB_H
6 #include <X11/Xlib.h>
7 #include <X11/Xutil.h>
8 #include <X11/Xresource.h>
9 #include <X11/Intrinsic.h> /* needed for xpm.h and Pixel defn */
10 #include <ctype.h>
12 #include "fvwmrect.h"
13 #include "safemalloc.h"
15 /* Convenience function ti init all the graphics subsystems */
16 void flib_init_graphics(Display *dpy);
19 * Replacements for missing system calls.
22 #ifndef HAVE_ATEXIT
23 int atexit(void(*func)());
24 #endif
26 #ifndef HAVE_GETHOSTNAME
27 int gethostname(char* name, int len);
28 #endif
30 #ifndef HAVE_STRCASECMP
31 int strcasecmp(char* s1, char* s2);
32 #endif
34 #ifndef HAVE_STRNCASECMP
35 int strncasecmp(char* s1, char* s2, int len);
36 #endif
38 #ifndef HAVE_STRERROR
39 char* strerror(int errNum);
40 #endif
42 #ifndef HAVE_USLEEP
43 int usleep(unsigned long usec);
44 #endif
46 /* Set up heap debugging library dmalloc. */
47 #ifdef HAVE_DMALLOC_H
48 #include <dmalloc.h>
49 #endif
51 /* Set up mtrace from glibc 2.1.x for x > ? */
52 #ifdef MTRACE_DEBUGGING
53 #include <mcheck.h>
54 #endif
56 #endif