| sed s/"^struct $1 {"/"struct ${1}_32 {"/g \
| sed s/"int "/"int32_t "/g \
| sed s/"long "/"int32_t "/g \
- | sed s/"time_t "/"int32_t "/g
+ | sed s/"time_t "/"int32_t "/g \
+ | sed s/"struct ExpirePolicy "/"struct ExpirePolicy_32 "/g
+ echo ''
}
# Here we go. Let's make this thing happen.
(
+
+ echo '// This file was automatically generated by ctdl3264_prep.sh'
+ echo '// Attempting to modify it would be an exercise in futility.'
+ echo ''
+
convert_struct "ctdluser"
- convert_struct "ctdlroom"
convert_struct "ExpirePolicy"
+ convert_struct "ctdlroom"
convert_struct "floor"
) >utils/ctdl3264_structs.h