lib: Make struct g_lock_rec private to g_lock.c
[amitay/samba.git] / source3 / lib / g_lock.c
index bfa659cde719ee739bf6ad7f191c28201144b46b..d2ff6796628529890a1afd3f30c55e67b861f724 100644 (file)
@@ -38,6 +38,11 @@ struct g_lock_ctx {
        struct messaging_context *msg;
 };
 
+struct g_lock_rec {
+       enum g_lock_type lock_type;
+       struct server_id pid;
+};
+
 /*
  * The "g_lock.tdb" file contains records, indexed by the 0-terminated
  * lockname. The record contains an array of "struct g_lock_rec"