xref: /onnv-gate/usr/src/lib/krb5/dyn/dyn_append.c (revision 0:68f95e015346)
1*0Sstevel@tonic-gate #pragma ident	"%Z%%M%	%I%	%E% SMI"
2*0Sstevel@tonic-gate 
3*0Sstevel@tonic-gate /*
4*0Sstevel@tonic-gate  * This file is part of libdyn.a, the C Dynamic Object library.  It
5*0Sstevel@tonic-gate  * contains the source code for the function DynAppend().
6*0Sstevel@tonic-gate  *
7*0Sstevel@tonic-gate  * There are no restrictions on this code; however, if you make any
8*0Sstevel@tonic-gate  * changes, I request that you document them so that I do not get
9*0Sstevel@tonic-gate  * credit or blame for your modifications.
10*0Sstevel@tonic-gate  *
11*0Sstevel@tonic-gate  * Written by Barr3y Jaspan, Student Information Processing Board (SIPB)
12*0Sstevel@tonic-gate  * and MIT-Project Athena, 1989.
13*0Sstevel@tonic-gate  */
14*0Sstevel@tonic-gate 
15*0Sstevel@tonic-gate #include <stdio.h>
16*0Sstevel@tonic-gate 
17*0Sstevel@tonic-gate #include "dynP.h"
18*0Sstevel@tonic-gate 
19*0Sstevel@tonic-gate /*
20*0Sstevel@tonic-gate  * Made obsolete by DynInsert, now just a convenience function.
21*0Sstevel@tonic-gate  */
DynAppend(obj,els,num)22*0Sstevel@tonic-gate int DynAppend(obj, els, num)
23*0Sstevel@tonic-gate    DynObjectP obj;
24*0Sstevel@tonic-gate    DynPtr els;
25*0Sstevel@tonic-gate    int num;
26*0Sstevel@tonic-gate {
27*0Sstevel@tonic-gate      return DynInsert(obj, DynSize(obj), els, num);
28*0Sstevel@tonic-gate }
29