diff options
Diffstat (limited to 'src/deh_frame.c')
-rw-r--r-- | src/deh_frame.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/deh_frame.c b/src/deh_frame.c index 4a11fd75..1c46f44d 100644 --- a/src/deh_frame.c +++ b/src/deh_frame.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: deh_frame.c 420 2006-03-15 18:53:06Z fraggle $ +// $Id: deh_frame.c 687 2006-10-05 22:12:22Z fraggle $ // // Copyright(C) 2005 Simon Howard // @@ -118,6 +118,16 @@ static void DEH_FrameParseLine(deh_context_t *context, char *line, void *tag) DEH_SetMapping(context, &state_mapping, state, variable_name, ivalue); } +static void DEH_FrameMD5Sum(md5_context_t *context) +{ + int i; + + for (i=0; i<NUMSTATES; ++i) + { + DEH_StructMD5Sum(context, &state_mapping, &states[i]); + } +} + deh_section_t deh_section_frame = { "Frame", @@ -125,5 +135,6 @@ deh_section_t deh_section_frame = DEH_FrameStart, DEH_FrameParseLine, NULL, + DEH_FrameMD5Sum, }; |