2 * $Id: cnid_nextid.c,v 1.2 2001-06-29 14:14:46 rufustfirefly Exp $
7 #endif /* HAVE_CONFIG_H */
11 #include <atalk/adouble.h>
12 #include <atalk/cnid.h>
16 #include "cnid_private.h"
18 /* return the next id. we use the fact that ad files are memory
20 cnid_t cnid_nextid(void *CNID)
28 memcpy(&id, ad_entry(&db->rootinfo, ADEID_DID), sizeof(id));