summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc_join.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-12-30 10:54:58 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-12-30 10:54:58 +0000
commitf6e6c678ad5338264496de43e9e1ab2fe4a28e64 (patch)
tree21145aeb71e92fb12865142a70a1435a25100da5 /source3/utils/net_rpc_join.c
parent3e10f9554ba0c3408be7ac859ec299394c2b0295 (diff)
downloadsamba-f6e6c678ad5338264496de43e9e1ab2fe4a28e64.tar.gz
samba-f6e6c678ad5338264496de43e9e1ab2fe4a28e64.tar.bz2
samba-f6e6c678ad5338264496de43e9e1ab2fe4a28e64.zip
Add a pile of doxygen style comments to various parts of Samba. Many of these
probably will never actually be genearted, but I like the style in any case. Also fix a segfault in 'net rpc' when the login failed and a small memory leak on failure in the auth_info.c code. Andrew Bartlett (This used to be commit 2efae7cc522651c22fb120835bc800645559b63e)
Diffstat (limited to 'source3/utils/net_rpc_join.c')
-rw-r--r--source3/utils/net_rpc_join.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/source3/utils/net_rpc_join.c b/source3/utils/net_rpc_join.c
index 16b0ccbaa8..5f5117c9bc 100644
--- a/source3/utils/net_rpc_join.c
+++ b/source3/utils/net_rpc_join.c
@@ -36,9 +36,15 @@
goto done; \
}
-/*********************************************************
-Join a domain using the administrator username and password
-**********************************************************/
+/**
+ * Join a domain using the administrator username and password
+ *
+ * @param argc Standard main() style argc
+ * @param argc Standard main() style argv. Initial components are already
+ * stripped. Currently not used.
+ * @return A shell status integer (0 for success)
+ *
+ **/
int net_rpc_join(int argc, const char **argv)
{