]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: make smbXsrv_open_global_parse_record() public
authorRalph Boehme <slow@samba.org>
Sun, 7 Dec 2025 07:44:04 +0000 (08:44 +0100)
committerRalph Boehme <slow@samba.org>
Fri, 17 Jul 2026 10:18:37 +0000 (10:18 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source3/smbd/smbXsrv_open.c
source3/smbd/smbXsrv_open.h

index 721d99b897d8fa7ede561f8628dbdc04013c9da9..b6984befc78214b903203c8a65d6dc76959c41e3 100644 (file)
@@ -198,7 +198,7 @@ static NTSTATUS smbXsrv_open_local_lookup(struct smbXsrv_open_table *table,
        return NT_STATUS_OK;
 }
 
-static NTSTATUS smbXsrv_open_global_parse_record(
+NTSTATUS smbXsrv_open_global_parse_record(
        TALLOC_CTX *mem_ctx,
        TDB_DATA key,
        TDB_DATA val,
index ee2aafa9bcba892adf1c8caad5724ff27e7776ba..881228887844590b92694272ff286e37ddd4c110 100644 (file)
@@ -56,6 +56,10 @@ NTSTATUS smb2srv_open_lookup(struct smbXsrv_connection *conn,
 NTSTATUS smbXsrv_open_global_lookup(TALLOC_CTX *mem_ctx,
                                    uint32_t open_global_id,
                                    const struct smbXsrv_open_global0 **global);
+NTSTATUS smbXsrv_open_global_parse_record(TALLOC_CTX *mem_ctx,
+                                         TDB_DATA key,
+                                         TDB_DATA val,
+                                         struct smbXsrv_open_global0 **global);
 
 NTSTATUS smbXsrv_open_purge_replay_cache(struct smbXsrv_client *client,
                                         const struct GUID *create_guid);