s3:conn_tdb: add a function connections_fetch_entry_ext() that also takes the cnum
[mat/samba.git] / source3 / lib / conn_tdb.h
index ee4befed1682990b60cca4331c981ccd9147ffd5..9b63364d440307bf00b9e68deda0f34ed3667da1 100644 (file)
@@ -47,6 +47,10 @@ struct connections_data {
 struct db_record *connections_fetch_entry(TALLOC_CTX *mem_ctx,
                                          connection_struct *conn,
                                          const char *name);
+struct db_record *connections_fetch_entry_ext(TALLOC_CTX *mem_ctx,
+                                             struct server_id id,
+                                             int cnum,
+                                             const char *name);
 int connections_traverse(int (*fn)(struct db_record *rec,
                                   void *private_data),
                         void *private_data);