summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>2008-03-01 20:55:21 -0500
committerKarolin Seeger <ks@sernet.de>2008-03-04 08:59:00 +0100
commit4a1f55ba0d6e736e8175efb0c5e4906a5bb43ee3 (patch)
tree11bc31e6641f5b57db7f84e8f8fb9c0eeac2a2c2 /source3/include
parent9a96722833d705d8ed462008adbf07b5ff3566fd (diff)
downloadsamba-4a1f55ba0d6e736e8175efb0c5e4906a5bb43ee3.tar.gz
samba-4a1f55ba0d6e736e8175efb0c5e4906a5bb43ee3.tar.bz2
samba-4a1f55ba0d6e736e8175efb0c5e4906a5bb43ee3.zip
Mark smbc_option_{get,set} as deprecated
(cherry picked from commit a8b4b773d4647f28e7b92c5968469721d34eb550) (This used to be commit 7b05e264d58c65af37af457947548611fc77edce)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/libsmbclient.h26
1 files changed, 3 insertions, 23 deletions
diff --git a/source3/include/libsmbclient.h b/source3/include/libsmbclient.h
index 28cad351de..058ac64210 100644
--- a/source3/include/libsmbclient.h
+++ b/source3/include/libsmbclient.h
@@ -142,7 +142,7 @@ struct smbc_dirent
/*
* Valid values for the option "open_share_mode", when calling
- * smbc_option_set()
+ * smbc_setOptionOpenShareMode()
*/
typedef enum smbc_share_mode
{
@@ -1010,35 +1010,15 @@ int smbc_free_context(SMBCCTX * context, int shutdown_ctx);
/**@ingroup misc
- * Each time the context structure is changed, we have binary backward
- * compatibility issues. Instead of modifying the public portions of the
- * context structure to add new options, instead, we put them in the internal
- * portion of the context structure and provide a set function for these new
- * options.
- *
- * @param context A pointer to a SMBCCTX obtained from smbc_new_context()
- *
- * @param option_name
- * The name of the option for which the value is to be set
- *
- * @param option_value
- * The new value of the option being set
*
+ * @DEPRECATED. Use smbc_setOption*() functions instead.
*/
void
smbc_option_set(SMBCCTX *context,
char *option_name,
... /* option_value */);
/*
- * Retrieve the current value of an option
- *
- * @param context A pointer to a SMBCCTX obtained from smbc_new_context()
- *
- * @param option_name
- * The name of the option for which the value is to be
- * retrieved
- *
- * @return The value of the specified option.
+ * @DEPRECATED. Use smbc_getOption*() functions instead.
*/
void *
smbc_option_get(SMBCCTX *context,