xresources.h (398B)
1 #include <X11/Xresource.h> 2 #if XRESOURCES_XDEFAULTS_PATCH 3 #include <sys/utsname.h> 4 #endif // XRESOURCES_XDEFAULTS_PATCH 5 6 /* Xresources preferences */ 7 enum resource_type { 8 STRING = 0, 9 INTEGER = 1, 10 FLOAT = 2 11 }; 12 13 typedef struct { 14 char *name; 15 enum resource_type type; 16 void *dst; 17 } ResourcePref; 18 19 int resource_load(XrmDatabase, char *, enum resource_type, void *); 20 void config_init(Display *dpy);