summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-05-16 22:26:00 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-05-18 16:12:08 +0200
commitb3258addb4bc861d8d0cf8842397c209ec2d3704 (patch)
treeb121910bd627b16faa195785cdecba2e9999a5a3 /source3/include
parentc6cc22adc059aeb6de50305b8a40d513d8f05bbc (diff)
downloadsamba-b3258addb4bc861d8d0cf8842397c209ec2d3704.tar.gz
samba-b3258addb4bc861d8d0cf8842397c209ec2d3704.tar.bz2
samba-b3258addb4bc861d8d0cf8842397c209ec2d3704.zip
s3-param: remove unused share_iterator functions
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h3
-rw-r--r--source3/include/smb.h4
2 files changed, 0 insertions, 7 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 8c00e3a274..39d607c205 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1675,9 +1675,6 @@ int lp_servicenumber(const char *pszServiceName);
bool share_defined(const char *service_name);
struct share_params *get_share_params(TALLOC_CTX *mem_ctx,
const char *sharename);
-struct share_iterator *share_list_all(TALLOC_CTX *mem_ctx);
-struct share_params *next_share(struct share_iterator *list);
-struct share_params *next_printer(struct share_iterator *list);
struct share_params *snum2params_static(int snum);
const char *volume_label(int snum);
bool lp_domain_master(void);
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 863ba7cf1f..ec78317b9b 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -397,10 +397,6 @@ struct share_params {
int service;
};
-struct share_iterator {
- int next_id;
-};
-
typedef struct connection_struct {
struct connection_struct *next, *prev;
struct smbd_server_connection *sconn; /* can be NULL */