/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1995-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 *
* *
* Phong Vo <kpv@research.att.com> *
* *
***********************************************************************/
#include "vdelhdr.h"
/* Expand a squeezed string
**
** Written by Kiem-Phong Vo, kpv@research.att.com, 2/15/95
*/
typedef struct _table_s
int n_tar;
} Table_t;
#if __STD_C
#else
#endif
{
else /* non-local ADD size */
}
return -1;
/* copy data from the delta stream to target */
t += size;
goto do_copy;
}
}
else
else
}
return -1;
}
else
/* else k_type == K_SELF */
}
return -1;
for(;;) /* allow for copying overlapped data */
n = size;
t += n;
if((size -= n) == 0)
break;
}
}
}
return 0;
}
#if __STD_C
#else
int size;
#endif
{
reg int t;
/* get true target size */
if(t > size)
return -1;
return -1;
return t;
}