Remove const so return value can be freed.
[kai/samba.git] / source4 / param / param.h
index 9c20931186d50157791b6c1ad4cdd527a2419b53..6dec44b61cbaf04c360f698a11a48ba436ff821d 100644 (file)
@@ -78,11 +78,11 @@ int lp_kpasswd_port(struct loadparm_context *);
 int lp_web_port(struct loadparm_context *);
 const char *lp_swat_directory(struct loadparm_context *);
 bool lp_tls_enabled(struct loadparm_context *);
-const char *lp_tls_keyfile(TALLOC_CTX *mem_ctx, struct loadparm_context *);
-const char *lp_tls_certfile(TALLOC_CTX *mem_ctx, struct loadparm_context *);
-const char *lp_tls_cafile(TALLOC_CTX *mem_ctx, struct loadparm_context *);
-const char *lp_tls_crlfile(TALLOC_CTX *mem_ctx, struct loadparm_context *);
-const char *lp_tls_dhpfile(TALLOC_CTX *mem_ctx, struct loadparm_context *);
+char *lp_tls_keyfile(TALLOC_CTX *mem_ctx, struct loadparm_context *);
+char *lp_tls_certfile(TALLOC_CTX *mem_ctx, struct loadparm_context *);
+char *lp_tls_cafile(TALLOC_CTX *mem_ctx, struct loadparm_context *);
+char *lp_tls_crlfile(TALLOC_CTX *mem_ctx, struct loadparm_context *);
+char *lp_tls_dhpfile(TALLOC_CTX *mem_ctx, struct loadparm_context *);
 const char *lp_share_backend(struct loadparm_context *);
 const char *lp_sam_url(struct loadparm_context *);
 const char *lp_idmap_url(struct loadparm_context *);