File: closestr.h

package info (click to toggle)
nas 1.2p5-11
  • links: PTS
  • area: main
  • in suites: potato
  • size: 4,196 kB
  • ctags: 5,553
  • sloc: ansic: 53,051; perl: 1,104; yacc: 228; makefile: 214; cpp: 199; sh: 122; lex: 44
file content (61 lines) | stat: -rw-r--r-- 1,341 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#ifndef CLOSESTR_H
#define CLOSESTR_H

#define	NEED_REPLIES
#include "Xproto.h"
#include "closure.h"
#include "dix.h"
#include "misc.h"

/* closure structures */
typedef struct _OFclosure {
    ClientPtr   client;
    short       current_fpe;
    short       num_fpes;
    FontPathElementPtr *fpe_list;
    Mask        flags;
    Bool        slept;

/* XXX -- get these from request buffer instead? */
    char       *origFontName;
    int		origFontNameLen;
    XID         fontid;
    char       *fontname;
    int         fnamelen;
}           OFclosureRec;

typedef struct _LFclosure {
    ClientPtr		client;
    short		current_fpe;
    short		num_fpes;
    FontPathElementPtr	*fpe_list;
    FontNamesPtr	names;
    char		*pattern;
    int			max_names;
    int			patlen;
    Bool		slept;
}           LFclosureRec;

typedef struct _LFWIstate {
    char	*pattern;
    int		patlen;
    int		current_fpe;
    int		max_names;
    Bool	list_started;
    pointer	private;
} LFWIstateRec, *LFWIstatePtr;

typedef struct _LFWIclosure {
    ClientPtr		client;
    int			num_fpes;
    FontPathElementPtr	*fpe_list;
    xListFontsWithInfoReply *reply;
    int			length;
    LFWIstateRec	current;
    LFWIstateRec	saved;
    int			savedNumFonts;
    Bool		haveSaved;
    Bool		slept;
    char		*savedName;
} LFWIclosureRec;
#endif				/* CLOSESTR_H */