summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-09-15 16:35:44 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-09-15 16:35:44 +0000
commit77f97113d0983bffe353b2a7ca8e99a0c9600572 (patch)
tree516be9bf411ae91a1b6c0ea9e1eaff6a30f184da /source3/include
parent1782e2a1566971cb9ff2ef33c5ff32d43fbf35f1 (diff)
downloadsamba-77f97113d0983bffe353b2a7ca8e99a0c9600572.tar.gz
samba-77f97113d0983bffe353b2a7ca8e99a0c9600572.tar.bz2
samba-77f97113d0983bffe353b2a7ca8e99a0c9600572.zip
Make current_sam_methods a const - Patch by Kai Krüger
(This used to be commit bd7245dc6fcff805fcb69f6bd1f4852dadf5aa84)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/sam.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/include/sam.h b/source3/include/sam.h
index c8df95676e..875efbe0de 100644
--- a/source3/include/sam.h
+++ b/source3/include/sam.h
@@ -51,7 +51,7 @@ int sam_version(void)\
typedef struct sam_domain_handle {
TALLOC_CTX *mem_ctx;
uint32 access_granted;
- struct sam_methods *current_sam_methods; /* sam_methods creating this handle */
+ const struct sam_methods *current_sam_methods; /* sam_methods creating this handle */
void (*free_fn)(struct sam_domain_handle **);
struct domain_data {
DOM_SID sid; /*SID of the domain. Should not be changed */
@@ -75,7 +75,7 @@ typedef struct sam_domain_handle {
typedef struct sam_account_handle {
TALLOC_CTX *mem_ctx;
uint32 access_granted;
- struct sam_methods *current_sam_methods; /* sam_methods creating this handle */
+ const struct sam_methods *current_sam_methods; /* sam_methods creating this handle */
void (*free_fn)(struct sam_account_handle **);
struct sam_account_data {
uint32 init_flag;
@@ -115,7 +115,7 @@ typedef struct sam_account_handle {
typedef struct sam_group_handle {
TALLOC_CTX *mem_ctx;
uint32 access_granted;
- struct sam_methods *current_sam_methods; /* sam_methods creating this handle */
+ const struct sam_methods *current_sam_methods; /* sam_methods creating this handle */
void (*free_fn)(struct sam_group_handle **);
struct sam_group_data {
char *group_name;