1 /* xscreensaver, Copyright (c) 2012 Jamie Zawinski <jwz@jwz.org>
3 * Permission to use, copy, modify, distribute, and sell this software and its
4 * documentation for any purpose is hereby granted without fee, provided that
5 * the above copyright notice appear in all copies and that both that
6 * copyright notice and this permission notice appear in supporting
7 * documentation. No representations are made about the suitability of this
8 * software for any purpose. It is provided "as is" without express or
11 * Running "xscreensaver-text" and returning bytes from it.
14 #ifndef __TEXTCLIENT_H__
15 #define __TEXTCLIENT_H__
21 typedef struct text_data text_data;
23 extern text_data *textclient_open (Display *);
24 extern void textclient_close (text_data *);
25 extern void textclient_reshape (text_data *,
27 int char_w, int char_h);
28 extern int textclient_getc (text_data *);
29 extern Bool textclient_putc (text_data *, XKeyEvent *);
31 #endif /* __TEXTCLIENT_H__ */