6 echo "$1" | sed -e 's/} *//' -e 's/;$//'
10 echo "$1" | sed -e 's/{ *//'
34 STRUCT=`cleanstruct "$line"`
39 STRUCT=`cleanstruct "$line"`
53 ADDRESS|LIST|BUFFER|PARAMETER|BODY|ENVELOPE|HEADER)
54 BODY=`cleanbody "$BODY"`
66 echo "/* base version: $BASEVERSION" > $TMPD
71 STRUCT=`getstruct "$line"`
74 NAME=`echo $STRUCT | cut -d: -f1`
75 BODY=`echo $STRUCT | cut -d' ' -f2-`
76 echo " * $NAME:" $BODY >> $TMPD
77 TEXT="$TEXT $NAME {$BODY}"
84 MD5TEXT=`echo "$TEXT" | ./mutt_md5`
85 echo "#define HCACHEVER 0x"`echo $MD5TEXT | cut -c-8` >> $TMPD
87 # TODO: validate we have all structs