2 * Copyright (c) 2011 Frank Lahm
3 * All Rights Reserved. See COPYRIGHT.
8 #endif /* HAVE_CONFIG_H */
16 #include <atalk/logger.h>
17 #include <atalk/errchk.h>
18 #include <atalk/locking.h>
19 #include <atalk/cnid.h>
20 #define AFP_LOCKTABLE_SIZE (8*1024*1024)
23 * Struct for building the the main database of file locks.
24 * vid + cnid build the primary key for database access.
31 /* Refcounting access and deny modes */
39 * Structure for building a table which provides the way to find locks by pid
45 /* Key for afp_lock */
50 /***************************************************************************
52 ***************************************************************************/
54 int locktable_init(void)