/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1993-2011 AT&T Intellectual Property *
* and is licensed under the *
* Eclipse Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum b35adb5213ca9657e911e9befb180842) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* David Korn <dgk@research.att.com> *
* *
***********************************************************************/
#pragma prototyped
/*
* huffman coding routine to write pack format file header
*
* David Korn
* AT&T Laboratories
*/
#include "huffman.h"
/*
* This routine outputs a pack format header to <outfile> and returns
* the number of bytes in the header
*/
{
register int i, c;
/* output magic number */
{
}
/* output the length and the dictionary */
/* output number of levels and count for each level */
/* output the characters */
for (c=0; c < (1<<CHAR_BIT); c++)
}