---------------------------------------------------------------------------*/ * This routine writes a binary representation of a * temporary configuration to File. * * @param File open file to write Config to * @param Config temporary config to write to File * * @note Globals: none * @note Exceptions: none * @note History: Tue Mar 19 14:00:28 1991, DSJ, Created. */
| 557 | * @note History: Tue Mar 19 14:00:28 1991, DSJ, Created. |
| 558 | */ |
| 559 | void WriteTempConfig(FILE *File, TEMP_CONFIG Config) { |
| 560 | assert (Config != NULL); |
| 561 | /* contexts not yet implemented */ |
| 562 | assert (Config->ContextsSeen == NULL); |
| 563 | |
| 564 | fwrite ((char *) Config, sizeof (TEMP_CONFIG_STRUCT), 1, File); |
| 565 | fwrite ((char *) Config->Protos, sizeof (uinT32), |
| 566 | Config->ProtoVectorSize, File); |
| 567 | |
| 568 | } /* WriteTempConfig */ |