s3:smbd: make negprot_spnego() non static
authorStefan Metzmacher <metze@samba.org>
Tue, 19 May 2009 08:46:35 +0000 (10:46 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 20 May 2009 13:42:58 +0000 (15:42 +0200)
metze

source3/smbd/globals.h
source3/smbd/negprot.c

index e69243f4b4542f0477daaa08641846a9bfe751a5..300118986772a4fa6117fe567588790d65617456 100644 (file)
@@ -202,6 +202,8 @@ extern int num_children;
 struct tstream_context;
 struct smbd_smb2_request;
 
+DATA_BLOB negprot_spnego(void);
+
 bool smbd_is_smb2_header(const uint8_t *inbuf, size_t size);
 
 void smbd_smb2_first_negprot(struct smbd_server_connection *conn,
index e548c587c15e7df326e9e22a4a4d678450dbaae2..b3eb698a37c25e967afefede3fe14f44636d4288 100644 (file)
@@ -166,7 +166,7 @@ static void reply_lanman2(struct smb_request *req, uint16 choice)
  Generate the spnego negprot reply blob. Return the number of bytes used.
 ****************************************************************************/
 
-static DATA_BLOB negprot_spnego(void)
+DATA_BLOB negprot_spnego(void)
 {
        DATA_BLOB blob;
        nstring dos_name;