1 | /* |
1 | /* |
2 | checkuid.c - Part of psiconv, a PSION 5 file formats converter |
2 | checkuid.c - Part of psiconv, a PSION 5 file formats converter |
3 | Copyright (c) 1999, 2000 Frodo Looijaard <frodol@dds.nl> |
3 | Copyright (c) 1999-2014 Frodo Looijaard <frodo@frodo.looijaard.name> |
4 | |
4 | |
5 | This program is free software; you can redistribute it and/or modify |
5 | This program is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published by |
6 | it under the terms of the GNU General Public License as published by |
7 | the Free Software Foundation; either version 2 of the License, or |
7 | the Free Software Foundation; either version 2 of the License, or |
8 | (at your option) any later version. |
8 | (at your option) any later version. |
… | |
… | |
18 | */ |
18 | */ |
19 | |
19 | |
20 | #include "config.h" |
20 | #include "config.h" |
21 | #include "compat.h" |
21 | #include "compat.h" |
22 | #include "common.h" |
22 | #include "common.h" |
|
|
23 | |
|
|
24 | #ifdef DMALLOC |
|
|
25 | #include <dmalloc.h> |
|
|
26 | #endif |
23 | |
27 | |
24 | static psiconv_u32 uid1[32] = |
28 | static psiconv_u32 uid1[32] = |
25 | { /* bit 0 */ 0x000045A0, |
29 | { /* bit 0 */ 0x000045A0, |
26 | /* bit 1 */ 0x00008B40, |
30 | /* bit 1 */ 0x00008B40, |
27 | /* bit 2 */ 0x000006A1, |
31 | /* bit 2 */ 0x000006A1, |