2 * interface for database access to cnids. i do it this way to abstract
3 * things a bit in case we want to change the underlying implementation.
6 #ifndef _ATALK_CNID_LAST__H
7 #define _ATALK_CNID_LAST__H 1
13 #include <netatalk/endian.h>
14 #include <atalk/cnid.h>
16 struct _cnid_last_private {
20 extern struct _cnid_module cnid_last_module;
21 extern struct _cnid_db *cnid_last_open (struct cnid_open_args *args);
22 extern void cnid_last_close (struct _cnid_db *);
23 extern cnid_t cnid_last_add (struct _cnid_db *, const struct stat *, cnid_t,
24 const char *, size_t, cnid_t);
25 extern cnid_t cnid_last_get (struct _cnid_db *, cnid_t, const char *, size_t);
26 extern char *cnid_last_resolve (struct _cnid_db *, cnid_t *, void *, size_t);
27 extern cnid_t cnid_last_lookup (struct _cnid_db *, const struct stat *, cnid_t, const char *, size_t);
28 extern int cnid_last_update (struct _cnid_db *, cnid_t, const struct stat *,
29 cnid_t, const char *, size_t);
30 extern int cnid_last_delete (struct _cnid_db *, cnid_t);
32 #endif /* include/atalk/cnid_last.h */