s3-smbd provide struct smbd_server_connection * to conn_snum_used
[nivanova/samba-autobuild/.git] / source3 / lib / dummysmbd.c
index c79e080882c619380c6a511ffac0601a2a3a4261..7a6c2cd3199a54442e8537eb6cb93cd35c592ee7 100644 (file)
 
 #include "includes.h"
 
-int get_client_fd(void)
+int find_service(TALLOC_CTX *ctx, const char *service_in, char **p_service_out)
 {
        return -1;
 }
 
-int find_service(fstring service)
-{
-       return -1;
-}
-
-bool conn_snum_used(int snum)
+bool conn_snum_used(struct smbd_server_connection *sconn,
+                   int snum)
 {
        return False;
 }
@@ -65,11 +61,6 @@ struct event_context *smbd_event_context(void)
        return NULL;
 }
 
-struct messaging_context *smbd_messaging_context(void)
-{
-       return NULL;
-}
-
 /**
  * The following two functions need to be called from inside the low-level BRL
  * code for oplocks correctness in smbd.  Since other utility binaries also