netatalk 4.5.0
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
icon.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 1990,1994 Regents of The University of Michigan.
3 * Copyright (c) 2024,2026 Daniel Markstedt <daniel@mindani.net>
4 * All Rights Reserved. See COPYRIGHT.
5 */
6
7#ifndef AFPD_ICON_H
8#define AFPD_ICON_H 1
9
10/* Icon resource sizes */
11#define ICN_HASH_SIZE 256 /* ICN# resource: 32x32 1-bit icon + 32x32 mask */
12#define ICL4_SIZE 512 /* icl4 resource: 32x32 4-bit color icon */
13#define ICL8_SIZE 1024 /* icl8 resource: 32x32 8-bit color icon */
14
15/* Resource type codes */
16#define RESTYPE_ICNH 0x49434E23 /* 'ICN#' */
17#define RESTYPE_ICL4 0x69636C34 /* 'icl4' */
18#define RESTYPE_ICL8 0x69636C38 /* 'icl8' */
19
20/* Monochrome icons (ICN#) */
21 extern const unsigned char declogo_icon[];
22 extern const unsigned char daemon_icon[];
23 extern const unsigned char fileserver_icon[];
24 extern const unsigned char globe_icon[];
25 extern const unsigned char nas_icon[];
26 extern const unsigned char sdcard_icon[];
27 extern const unsigned char sunlogo_icon[];
28 extern const unsigned char viking_icon[];
29
30/* Colorized icons (icl4 = 4-bit, icl8 = 8-bit) */
31 extern const unsigned char declogo_icon_icl4[];
32 extern const unsigned char declogo_icon_icl8[];
33 extern const unsigned char daemon_icon_icl4[];
34 extern const unsigned char daemon_icon_icl8[];
35 extern const unsigned char fileserver_icon_icl4[];
36 extern const unsigned char fileserver_icon_icl8[];
37 extern const unsigned char globe_icon_icl4[];
38 extern const unsigned char globe_icon_icl8[];
39 extern const unsigned char nas_icon_icl4[];
40 extern const unsigned char nas_icon_icl8[];
41 extern const unsigned char sdcard_icon_icl4[];
42 extern const unsigned char sdcard_icon_icl8[];
43 extern const unsigned char sunlogo_icon_icl4[];
44 extern const unsigned char sunlogo_icon_icl8[];
45 extern const unsigned char viking_icon_icl4[];
46 extern const unsigned char viking_icon_icl8[];
47
48#endif /* AFPD_ICON_H */
sdcard_icon
const unsigned char sdcard_icon[]
Definition icon.c:194
globe_icon_icl8
const unsigned char globe_icon_icl8[]
Definition icon.c:972
viking_icon_icl4
const unsigned char viking_icon_icl4[]
Definition icon.c:1705
nas_icon_icl8
const unsigned char nas_icon_icl8[]
Definition icon.c:1173
fileserver_icon_icl8
const unsigned char fileserver_icon_icl8[]
Definition icon.c:772
daemon_icon
const unsigned char daemon_icon[]
Definition icon.c:14
sunlogo_icon_icl8
const unsigned char sunlogo_icon_icl8[]
Definition icon.c:1573
daemon_icon_icl8
const unsigned char daemon_icon_icl8[]
Definition icon.c:372
daemon_icon_icl4
const unsigned char daemon_icon_icl4[]
Definition icon.c:304
nas_icon
const unsigned char nas_icon[]
Definition icon.c:158
sunlogo_icon
const unsigned char sunlogo_icon[]
Definition icon.c:230
declogo_icon_icl8
const unsigned char declogo_icon_icl8[]
Definition icon.c:572
sdcard_icon_icl4
const unsigned char sdcard_icon_icl4[]
Definition icon.c:1305
viking_icon
const unsigned char viking_icon[]
Definition icon.c:266
viking_icon_icl8
const unsigned char viking_icon_icl8[]
Definition icon.c:1773
fileserver_icon
const unsigned char fileserver_icon[]
Definition icon.c:86
nas_icon_icl4
const unsigned char nas_icon_icl4[]
Definition icon.c:1104
sunlogo_icon_icl4
const unsigned char sunlogo_icon_icl4[]
Definition icon.c:1505
sdcard_icon_icl8
const unsigned char sdcard_icon_icl8[]
Definition icon.c:1373
globe_icon_icl4
const unsigned char globe_icon_icl4[]
Definition icon.c:904
globe_icon
const unsigned char globe_icon[]
Definition icon.c:122
fileserver_icon_icl4
const unsigned char fileserver_icon_icl4[]
Definition icon.c:704
declogo_icon
const unsigned char declogo_icon[]
Definition icon.c:50
declogo_icon_icl4
const unsigned char declogo_icon_icl4[]
Definition icon.c:504