/[dtapublic]/projs/dtats/trunk/shared_source/c_tk_base_7_5_w_mods/stubs.c
ViewVC logotype

Diff of /projs/dtats/trunk/shared_source/c_tk_base_7_5_w_mods/stubs.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 69 by dashley, Sat Nov 5 10:54:17 2016 UTC revision 71 by dashley, Sat Nov 5 11:07:06 2016 UTC
# Line 1  Line 1 
1  /* $Header$ */  /* $Header$ */
2    
3  #include "tk.h"  #include "tk.h"
4    
5  /*  /*
6   * Undocumented Xlib internal function   * Undocumented Xlib internal function
7   */   */
8    
9  _XInitImageFuncPtrs(XImage *image)  _XInitImageFuncPtrs(XImage *image)
10  {  {
11      return 0;      return 0;
12  }  }
13    
14  /*  /*
15   * From Xutil.h   * From Xutil.h
16   */   */
17    
18  void  void
19  XSetWMClientMachine(display, w, text_prop)  XSetWMClientMachine(display, w, text_prop)
20      Display* display;      Display* display;
21      Window w;      Window w;
22      XTextProperty* text_prop;      XTextProperty* text_prop;
23  {  {
24  }  }
25    
26  Status  Status
27  XStringListToTextProperty(list, count, text_prop_return)  XStringListToTextProperty(list, count, text_prop_return)
28      char** list;      char** list;
29      int count;      int count;
30      XTextProperty* text_prop_return;      XTextProperty* text_prop_return;
31  {  {
32      return (Status) NULL;      return (Status) NULL;
33  }  }
34    
35  /*  /*
36   * From Xlib.h   * From Xlib.h
37   */   */
38    
39  void  void
40  XChangeProperty(display, w, property, type, format, mode, data, nelements)  XChangeProperty(display, w, property, type, format, mode, data, nelements)
41      Display* display;      Display* display;
42      Window w;      Window w;
43      Atom property;      Atom property;
44      Atom type;      Atom type;
45      int format;      int format;
46      int mode;      int mode;
47      _Xconst unsigned char* data;      _Xconst unsigned char* data;
48      int nelements;      int nelements;
49  {  {
50  }  }
51    
52  Cursor  Cursor
53  XCreateGlyphCursor(display, source_font, mask_font, source_char, mask_char,  XCreateGlyphCursor(display, source_font, mask_font, source_char, mask_char,
54          foreground_color, background_color)          foreground_color, background_color)
55      Display* display;      Display* display;
56      Font source_font;      Font source_font;
57      Font mask_font;      Font mask_font;
58      unsigned int source_char;      unsigned int source_char;
59      unsigned int mask_char;      unsigned int mask_char;
60      XColor* foreground_color;      XColor* foreground_color;
61      XColor* background_color;      XColor* background_color;
62  {  {
63      return 1;      return 1;
64  }  }
65    
66  XIC  XIC
67  XCreateIC()  XCreateIC()
68  {  {
69      return NULL;      return NULL;
70  }  }
71    
72  Cursor  Cursor
73  XCreatePixmapCursor(display, source, mask, foreground_color,  XCreatePixmapCursor(display, source, mask, foreground_color,
74          background_color, x, y)          background_color, x, y)
75      Display* display;      Display* display;
76      Pixmap source;      Pixmap source;
77      Pixmap mask;      Pixmap mask;
78      XColor* foreground_color;      XColor* foreground_color;
79      XColor* background_color;      XColor* background_color;
80      unsigned int x;      unsigned int x;
81      unsigned int y;      unsigned int y;
82  {  {
83      return (Cursor) NULL;      return (Cursor) NULL;
84  }  }
85    
86  void  void
87  XDeleteProperty(display, w, property)  XDeleteProperty(display, w, property)
88      Display* display;      Display* display;
89      Window w;      Window w;
90      Atom property;      Atom property;
91  {  {
92  }  }
93    
94  void  void
95  XDestroyIC(ic)  XDestroyIC(ic)
96      XIC ic;      XIC ic;
97  {  {
98  }  }
99    
100  Bool  Bool
101  XFilterEvent(event, window)  XFilterEvent(event, window)
102      XEvent* event;      XEvent* event;
103      Window window;      Window window;
104  {  {
105      return 0;      return 0;
106  }  }
107    
108  extern void XForceScreenSaver(display, mode)  extern void XForceScreenSaver(display, mode)
109      Display* display;      Display* display;
110      int mode;      int mode;
111  {  {
112  }  }
113    
114  void  void
115  XFreeCursor(display, cursor)  XFreeCursor(display, cursor)
116      Display* display;      Display* display;
117      Cursor cursor;      Cursor cursor;
118  {  {
119  }  }
120    
121  GContext  GContext
122  XGContextFromGC(gc)  XGContextFromGC(gc)
123      GC gc;      GC gc;
124  {  {
125      return (GContext) NULL;      return (GContext) NULL;
126  }  }
127    
128  char *  char *
129  XGetAtomName(display, atom)  XGetAtomName(display, atom)
130      Display* display;      Display* display;
131      Atom atom;      Atom atom;
132  {  {
133      return NULL;      return NULL;
134  }  }
135    
136  int  int
137  XGetWindowAttributes(display, w, window_attributes_return)  XGetWindowAttributes(display, w, window_attributes_return)
138      Display* display;      Display* display;
139      Window w;      Window w;
140      XWindowAttributes* window_attributes_return;      XWindowAttributes* window_attributes_return;
141  {  {
142      return 0;      return 0;
143  }  }
144    
145  Status  Status
146  XGetWMColormapWindows(display, w, windows_return, count_return)  XGetWMColormapWindows(display, w, windows_return, count_return)
147      Display* display;      Display* display;
148      Window w;      Window w;
149      Window** windows_return;      Window** windows_return;
150      int* count_return;      int* count_return;
151  {  {
152      return (Status) NULL;      return (Status) NULL;
153  }  }
154    
155  int  int
156  XIconifyWindow(display, w, screen_number)  XIconifyWindow(display, w, screen_number)
157      Display* display;      Display* display;
158      Window w;      Window w;
159      int screen_number;      int screen_number;
160  {  {
161      return 0;      return 0;
162  }  }
163    
164  XHostAddress *  XHostAddress *
165  XListHosts(display, nhosts_return, state_return)  XListHosts(display, nhosts_return, state_return)
166      Display* display;      Display* display;
167      int* nhosts_return;      int* nhosts_return;
168      Bool* state_return;      Bool* state_return;
169  {  {
170      return NULL;      return NULL;
171  }  }
172    
173  int  int
174  XLookupColor(display, colormap, color_name, exact_def_return,  XLookupColor(display, colormap, color_name, exact_def_return,
175          screen_def_return)          screen_def_return)
176      Display* display;      Display* display;
177      Colormap colormap;      Colormap colormap;
178      _Xconst char* color_name;      _Xconst char* color_name;
179      XColor* exact_def_return;      XColor* exact_def_return;
180      XColor* screen_def_return;      XColor* screen_def_return;
181  {  {
182      return 0;      return 0;
183  }  }
184    
185  void  void
186  XNextEvent(display, event_return)  XNextEvent(display, event_return)
187      Display* display;      Display* display;
188      XEvent* event_return;      XEvent* event_return;
189  {  {
190  }  }
191    
192  void  void
193  XPutBackEvent(display, event)  XPutBackEvent(display, event)
194      Display* display;      Display* display;
195      XEvent* event;      XEvent* event;
196  {  {
197  }  }
198    
199  void  void
200  XQueryColors(display, colormap, defs_in_out, ncolors)  XQueryColors(display, colormap, defs_in_out, ncolors)
201      Display* display;      Display* display;
202      Colormap colormap;      Colormap colormap;
203      XColor* defs_in_out;      XColor* defs_in_out;
204      int ncolors;      int ncolors;
205  {  {
206  }  }
207    
208  int  int
209  XQueryTree(display, w, root_return, parent_return, children_return,  XQueryTree(display, w, root_return, parent_return, children_return,
210          nchildren_return)          nchildren_return)
211      Display* display;      Display* display;
212      Window w;      Window w;
213      Window* root_return;      Window* root_return;
214      Window* parent_return;      Window* parent_return;
215      Window** children_return;      Window** children_return;
216      unsigned int* nchildren_return;      unsigned int* nchildren_return;
217  {  {
218      return 0;      return 0;
219  }  }
220    
221  void  void
222  XRefreshKeyboardMapping(event_map)  XRefreshKeyboardMapping(event_map)
223      XMappingEvent* event_map;      XMappingEvent* event_map;
224  {  {
225  }  }
226    
227  Window  Window
228  XRootWindow(display, screen_number)  XRootWindow(display, screen_number)
229      Display* display;      Display* display;
230      int screen_number;      int screen_number;
231  {  {
232      return (Window) NULL;      return (Window) NULL;
233  }  }
234    
235  void  void
236  XSelectInput(display, w, event_mask)  XSelectInput(display, w, event_mask)
237      Display* display;      Display* display;
238      Window w;      Window w;
239      long event_mask;      long event_mask;
240  {  {
241  }  }
242    
243  int  int
244  XSendEvent(display, w, propagate, event_mask, event_send)  XSendEvent(display, w, propagate, event_mask, event_send)
245      Display* display;      Display* display;
246      Window w;      Window w;
247      Bool propagate;      Bool propagate;
248      long event_mask;      long event_mask;
249      XEvent* event_send;      XEvent* event_send;
250  {  {
251      return 0;      return 0;
252  }  }
253    
254  void  void
255  XSetCommand(display, w, argv, argc)  XSetCommand(display, w, argv, argc)
256      Display* display;      Display* display;
257      Window w;      Window w;
258      char** argv;      char** argv;
259      int argc;      int argc;
260  {  {
261  }  }
262    
263  XErrorHandler  XErrorHandler
264  XSetErrorHandler (handler)  XSetErrorHandler (handler)
265      XErrorHandler handler;      XErrorHandler handler;
266  {  {
267      return NULL;      return NULL;
268  }  }
269    
270  void  void
271  XSetIconName(display, w, icon_name)  XSetIconName(display, w, icon_name)
272      Display* display;      Display* display;
273      Window w;      Window w;
274      _Xconst char* icon_name;      _Xconst char* icon_name;
275  {  {
276  }  }
277    
278  void  void
279  XSetWindowBackground(display, w, background_pixel)  XSetWindowBackground(display, w, background_pixel)
280      Display* display;      Display* display;
281      Window w;      Window w;
282      unsigned long background_pixel;      unsigned long background_pixel;
283  {  {
284  }  }
285    
286  void  void
287  XSetWindowBackgroundPixmap(display, w, background_pixmap)  XSetWindowBackgroundPixmap(display, w, background_pixmap)
288      Display* display;      Display* display;
289      Window w;      Window w;
290      Pixmap background_pixmap;      Pixmap background_pixmap;
291  {  {
292  }  }
293    
294  void  void
295  XSetWindowBorder(display, w, border_pixel)  XSetWindowBorder(display, w, border_pixel)
296      Display* display;      Display* display;
297      Window w;      Window w;
298      unsigned long border_pixel;      unsigned long border_pixel;
299  {  {
300  }  }
301    
302  void  void
303  XSetWindowBorderPixmap(display, w, border_pixmap)  XSetWindowBorderPixmap(display, w, border_pixmap)
304      Display* display;      Display* display;
305      Window w;      Window w;
306      Pixmap border_pixmap;      Pixmap border_pixmap;
307  {  {
308  }  }
309    
310  void  void
311  XSetWindowBorderWidth(display, w, width)  XSetWindowBorderWidth(display, w, width)
312      Display* display;      Display* display;
313      Window w;      Window w;
314      unsigned int width;      unsigned int width;
315  {  {
316  }  }
317    
318  void  void
319  XSetWindowColormap(display, w, colormap)  XSetWindowColormap(display, w, colormap)
320      Display* display;      Display* display;
321      Window w;      Window w;
322      Colormap colormap;      Colormap colormap;
323  {  {
324  }  }
325    
326  Bool  Bool
327  XTranslateCoordinates(display, src_w, dest_w, src_x, src_y, dest_x_return,  XTranslateCoordinates(display, src_w, dest_w, src_x, src_y, dest_x_return,
328          dest_y_return, child_return)          dest_y_return, child_return)
329      Display* display;      Display* display;
330      Window src_w;      Window src_w;
331      Window dest_w;      Window dest_w;
332      int src_x;      int src_x;
333      int src_y;      int src_y;
334      int* dest_x_return;      int* dest_x_return;
335      int* dest_y_return;      int* dest_y_return;
336      Window* child_return;      Window* child_return;
337  {  {
338      return 0;      return 0;
339  }  }
340    
341  void  void
342  XWindowEvent(display, w, event_mask, event_return)  XWindowEvent(display, w, event_mask, event_return)
343      Display* display;      Display* display;
344      Window w;      Window w;
345      long event_mask;      long event_mask;
346      XEvent* event_return;      XEvent* event_return;
347  {  {
348  }  }
349    
350  int  int
351  XWithdrawWindow(display, w, screen_number)  XWithdrawWindow(display, w, screen_number)
352      Display* display;      Display* display;
353      Window w;      Window w;
354      int screen_number;      int screen_number;
355  {  {
356      return 0;      return 0;
357  }  }
358    
359  int  int
360  XmbLookupString(ic, event, buffer_return, bytes_buffer, keysym_return,  XmbLookupString(ic, event, buffer_return, bytes_buffer, keysym_return,
361          status_return)          status_return)
362      XIC ic;      XIC ic;
363      XKeyPressedEvent* event;      XKeyPressedEvent* event;
364      char* buffer_return;      char* buffer_return;
365      int bytes_buffer;      int bytes_buffer;
366      KeySym* keysym_return;      KeySym* keysym_return;
367      Status* status_return;      Status* status_return;
368  {  {
369      return 0;      return 0;
370  }  }
371    
372  int  int
373  XGetWindowProperty(display, w, property, long_offset, long_length, delete,  XGetWindowProperty(display, w, property, long_offset, long_length, delete,
374          req_type, actual_type_return, actual_format_return, nitems_return,          req_type, actual_type_return, actual_format_return, nitems_return,
375          bytes_after_return, prop_return)          bytes_after_return, prop_return)
376      Display* display;      Display* display;
377      Window w;      Window w;
378      Atom property;      Atom property;
379      long long_offset;      long long_offset;
380      long long_length;      long long_length;
381      Bool delete;      Bool delete;
382      Atom req_type;      Atom req_type;
383      Atom* actual_type_return;      Atom* actual_type_return;
384      int* actual_format_return;      int* actual_format_return;
385      unsigned long* nitems_return;      unsigned long* nitems_return;
386      unsigned long* bytes_after_return;      unsigned long* bytes_after_return;
387      unsigned char** prop_return;      unsigned char** prop_return;
388  {  {
389      *actual_type_return = None;      *actual_type_return = None;
390      *actual_format_return = 0;      *actual_format_return = 0;
391      *nitems_return = 0;      *nitems_return = 0;
392      *bytes_after_return = 0;      *bytes_after_return = 0;
393      *prop_return = NULL;      *prop_return = NULL;
394      return BadValue;      return BadValue;
395  }  }
396    
397  /* End of stubs.c */  /* End of stubs.c */

Legend:
Removed from v.69  
changed lines
  Added in v.71

dashley@gmail.com
ViewVC Help
Powered by ViewVC 1.1.25