s3:netapi: Add libnetapi_set_creds()
[samba.git] / source3 / lib / netapi / netapi.h
index b0560e1af1d5c4b76a4c153f90dee931f28f1451..af2e4aaf961e75ddb809daff3f602441223b0bfb 100644 (file)
@@ -24,6 +24,8 @@
 extern "C" {
 #endif /* __cplusplus */
 
+struct cli_credentials;
+
 /****************************************************************
  NET_API_STATUS
 ****************************************************************/
@@ -1394,6 +1396,10 @@ NET_API_STATUS libnetapi_set_debuglevel(struct libnetapi_ctx *ctx,
 /****************************************************************
 ****************************************************************/
 
+NET_API_STATUS libnetapi_set_creds(struct libnetapi_ctx *ctx,
+                                  struct cli_credentials *creds);
+
+
 NET_API_STATUS libnetapi_set_username(struct libnetapi_ctx *ctx,
                                      const char *username);