Optional IPC logging

This commit is contained in:
Erik van der Kouwe
2010-06-24 13:31:40 +00:00
parent 3985311b2e
commit fe07e7c984
9 changed files with 210 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
set -e
# grep message type and errno constants and make them into a .h file
cat ../include/errno.h | \
tr -s ' \t' ' ' | \
sed 's/^# /#/' | \
egrep '^#define [A-Z_][A-Z0-9_]* \( ?_SIGN ?[0-9]+ ?\)' | \
cut -d' ' -f2 | \
sed 's/\(.*\)/IDENT(\1)/' | \
sort