summaryrefslogtreecommitdiff
path: root/source4/param/loadparm.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-08 23:32:23 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:48:54 +0100
commit5991108c81afa820f811d8520c51d42e9ca0ec49 (patch)
tree4d91abff279f1346f25e0420552416cb5f3a0bc1 /source4/param/loadparm.c
parentfd88c3ca2480fabb90c0d8fc701394bb59f99481 (diff)
downloadsamba-5991108c81afa820f811d8520c51d42e9ca0ec49.tar.gz
samba-5991108c81afa820f811d8520c51d42e9ca0ec49.tar.bz2
samba-5991108c81afa820f811d8520c51d42e9ca0ec49.zip
r26349: More tests.
(This used to be commit c440b130a9d57c1928fb5aef34fa4c00c7e46cff)
Diffstat (limited to 'source4/param/loadparm.c')
-rw-r--r--source4/param/loadparm.c22
1 files changed, 10 insertions, 12 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index 19f5b8b6ca..8cdc82c961 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -1187,10 +1187,10 @@ bool lp_add_printer(struct loadparm_context *lp_ctx,
return true;
}
-/***************************************************************************
- Map a parameter's string representation to something we can use.
- Returns False if the parameter string is not recognised, else TRUE.
-***************************************************************************/
+/**
+ * Map a parameter's string representation to something we can use.
+ * Returns False if the parameter string is not recognised, else TRUE.
+ */
static int map_parameter(const char *pszParmName)
{
@@ -1213,7 +1213,7 @@ static int map_parameter(const char *pszParmName)
}
-/*
+/**
return the parameter structure for a parameter
*/
struct parm_struct *lp_parm_struct(const char *name)
@@ -1223,7 +1223,7 @@ struct parm_struct *lp_parm_struct(const char *name)
return &parm_table[parmnum];
}
-/*
+/**
return the parameter pointer for a parameter
*/
void *lp_parm_ptr(struct loadparm_context *lp_ctx,
@@ -1348,11 +1348,10 @@ static void copy_service(struct loadparm_service *pserviceDest,
}
}
-/***************************************************************************
-Check a service for consistency. Return False if the service is in any way
-incomplete or faulty, else True.
-***************************************************************************/
-
+/**
+ * Check a service for consistency. Return False if the service is in any way
+ * incomplete or faulty, else True.
+ */
static bool service_ok(struct loadparm_service *service)
{
bool bRetval;
@@ -1429,7 +1428,6 @@ static void add_to_file_list(struct loadparm_context *lp_ctx,
/*******************************************************************
Check if a config file has changed date.
********************************************************************/
-
bool lp_file_list_changed(struct loadparm_context *lp_ctx)
{
struct file_lists *f;