projects
/
ossec-hids.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
obrisane nepotrebne datoteke od zadnjeg builda
[ossec-hids.git]
/
src
/
analysisd
/
cdb
/
uint32_pack.c
1
/* adopted from libowfat 0.9 (GPL) */
2
3
#define NO_UINT32_MACROS
4
#include "uint32.h"
5
6
7
void uint32_pack(char *out, uint32 in)
8
{
9
*out = in & 0xff;
10
in >>= 8;
11
*++out = in & 0xff;
12
in >>= 8;
13
*++out = in & 0xff;
14
in >>= 8;
15
*++out = in & 0xff;
16
}