| 1 |
/* -*- coding: utf-8 -*- |
/* -*- coding: utf-8 -*- |
| 2 |
darkstattype.c - Program to decode darkstat's dumpfile. |
darkstattype.c - Program to decode darkstat's dumpfile. |
| 3 |
|
|
| 4 |
$Ximalas$ |
$Ximalas$ |
| 5 |
|
|
| 6 |
Tested on FreeBSD/i386 stable/8 r255624 with gcc 4.2.1. |
Tested on FreeBSD/i386 stable/8 r255624 with gcc 4.2.1. |
| 7 |
Tested on FreeBSD/amd64 stable/9 r263963 with clang 3.3. |
Tested on FreeBSD/amd64 stable/9 r263963 with clang 3.4. |
| 8 |
Tested on FreeBSD/amd64 stable/9 r263963 with clang 3.3 using -m32. |
Tested on FreeBSD/amd64 stable/9 r263963 with clang 3.4 using -m32. |
| 9 |
|
|
| 10 |
Copyright © 2014, Trond Endrestøl <Trond.Endrestol@ximalas.info> |
Copyright © 2014, Trond Endrestøl <Trond.Endrestol@ximalas.info> |
| 11 |
All rights reserved. |
All rights reserved. |
| 12 |
|
|
| 13 |
Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
| 14 |
modification, are permitted provided that the following conditions are met: |
modification, are permitted provided that the following conditions are met: |
| 15 |
|
|
| 16 |
1. Redistributions of source code must retain the above copyright notice, this |
1. Redistributions of source code must retain the above copyright notice, this |
| 17 |
list of conditions and the following disclaimer. |
list of conditions and the following disclaimer. |
| 18 |
2. Redistributions in binary form must reproduce the above copyright notice, |
2. Redistributions in binary form must reproduce the above copyright notice, |
| 19 |
this list of conditions and the following disclaimer in the documentation |
this list of conditions and the following disclaimer in the documentation |
| 20 |
and/or other materials provided with the distribution. |
and/or other materials provided with the distribution. |
| 21 |
|
|
| 22 |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
| 23 |
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |