libsmbconf: Document smbconf_backend_requires_messaging().
authorAndreas Schneider <asn@samba.org>
Thu, 14 Apr 2011 09:02:49 +0000 (11:02 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 11 May 2011 10:03:28 +0000 (12:03 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
lib/smbconf/smbconf.h

index 467b5caa795d481af69ad23d75edddc36f1bbbff..8e3b40b7a1a72b4b29564b52d3683b1e4cf416ac 100644 (file)
@@ -58,6 +58,10 @@ struct smbconf_service {
        char **param_values;
 };
 
+/*
+ * The smbconf API functions
+ */
+
 /**
  * @brief Translate an error value into a string
  *
@@ -67,10 +71,18 @@ struct smbconf_service {
  **/
 const char *sbcErrorString(sbcErr error);
 
-/*
- * the smbconf API functions
+/**
+ * @brief Check if the backend requires messaging to be set up.
+ *
+ * Tell whether the backend requires messaging to be set up
+ * for the backend to work correctly.
+ *
+ * @param[in] ctx       The smbconf context to check.
+ *
+ * @return              True if needed, false if not.
  */
 bool smbconf_backend_requires_messaging(struct smbconf_ctx *ctx);
+
 bool smbconf_is_writeable(struct smbconf_ctx *ctx);
 void smbconf_shutdown(struct smbconf_ctx *ctx);
 bool smbconf_changed(struct smbconf_ctx *ctx, struct smbconf_csn *csn,