2 * $Id: cnid_nextid.c,v 1.6.2.2 2001-12-03 15:53:39 jmarcus Exp $
8 #endif /* HAVE_CONFIG_H */
13 #include <atalk/adouble.h>
14 #include <atalk/cnid.h>
18 #include "cnid_private.h"
20 /* return the next id. we use the fact that ad files are memory
22 cnid_t cnid_nextid(void *CNID)
30 memcpy(&id, ad_entry(&db->rootinfo, ADEID_DID), sizeof(id));