Debian Codegraph @

include/image.h

raw symbols SCIP
1 /**
2 * @file
3 * Image-related structures.
4 */
5
6 #ifndef IMAGE_H
7 #define IMAGE_H
8
9 /** Actual image data the client will display. */
10 typedef struct face_info {
11 uint8_t *data; /**< Image data. */
12 uint16_t datalen; /**< Length of data. */
13 uint32_t checksum; /**< Checksum of face data. */
14 } face_info;
15
16 /** Information about one face set */
17 typedef struct {
18 char *prefix; /**< Faceset short name, used in pictures names (base, clsc). */
19 char *fullname; /**< Full faceset name. */
20 uint8_t fallback; /**< Faceset to use when an image is not found in this faceset, index in facesets. */
21 char *size; /**< Human-readable set size. */
22 char *extension; /**< Supplementary description. */
23 char *comment; /**< Human-readable comment for this set. */
24 face_info *faces; /**< images in this faceset */
25 } face_sets;
26 #define MAX_FACE_SETS 20 /**< Maximum number of image sets the program will handle */
27
28 extern face_sets facesets[MAX_FACE_SETS];
29
30 #define MAX_IMAGE_SIZE 10000
31
32 #endif /* IMAGE_H */