2 * $Id: cnid_nextid.c,v 1.3 2001-08-14 14:00:10 rufustfirefly Exp $
8 #endif /* HAVE_CONFIG_H */
12 #include <atalk/adouble.h>
13 #include <atalk/cnid.h>
17 #include "cnid_private.h"
19 /* return the next id. we use the fact that ad files are memory
21 cnid_t cnid_nextid(void *CNID)
29 memcpy(&id, ad_entry(&db->rootinfo, ADEID_DID), sizeof(id));